-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e7db9e
commit 7232b5f
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,9 @@ jobs: | |
permissions: | ||
contents: write # Required for creating the GitHub release | ||
packages: write # Required for pushing to GitHub Container Registry | ||
# This is used to complete the identity challenge | ||
# with sigstore/fulcio when running outside of PRs. | ||
id-token: write | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
@@ -62,6 +65,7 @@ jobs: | |
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.PAT }} # `PAT` is a secret that contains your Personal Access Token with `write:packages` scope | ||
- name: Build and push Gimlet image | ||
id: build-and-push | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
|
@@ -80,3 +84,11 @@ jobs: | |
--source=${{ github.repositoryUrl }} \ | ||
--revision="${{ github.ref_name }}@sha1:${{ github.sha }}" \ | ||
--annotations='org.opencontainers.image.description=Capacitor install manifests for Flux' | ||
- name: Install cosign | ||
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 #v3.1.1 | ||
with: | ||
cosign-release: 'v2.1.1' | ||
- name: Sign oci artifacts | ||
run: | | ||
# keyless mode | ||
cosign sign ghcr.io/gimlet-io/capacitor-manifests:${{ steps.version.outputs.version }} -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters