Skip to content

Commit

Permalink
Cosign trials
Browse files Browse the repository at this point in the history
  • Loading branch information
YoucefGuichi committed Feb 27, 2024
1 parent 2e2f2b7 commit 7c1efd6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
run: make dist
env:
VERSION: ${{ steps.version.outputs.version }}
- name: Setup User
run: |
git config --global user.email "[email protected]"
git config --global user.name "Github Actions"
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -62,7 +66,7 @@ jobs:
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
username: ${{ github.actor }}
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
Expand Down Expand Up @@ -95,4 +99,4 @@ jobs:
COSIGNKEY: ${{ secrets.COSIGNKEY }}
run: |
# keyless mode
cosign sign ghcr.io/gimlet-io/capacitor-manifests@${{ steps.build-and-push.outputs.digest }} -y
cosign sign ghcr.io/gimlet-io/capacitor-manifests:${{ steps.version.outputs.version }} -y

0 comments on commit 7c1efd6

Please sign in to comment.