Skip to content

Commit 7c1efd6

Browse files
committed
Cosign trials
1 parent 2e2f2b7 commit 7c1efd6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/publish.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ jobs:
4444
run: make dist
4545
env:
4646
VERSION: ${{ steps.version.outputs.version }}
47+
- name: Setup User
48+
run: |
49+
git config --global user.email "git@gimlet.io"
50+
git config --global user.name "Github Actions"
4751
- name: Create Release
4852
id: create_release
4953
uses: actions/create-release@v1
@@ -62,7 +66,7 @@ jobs:
6266
uses: docker/login-action@v1
6367
with:
6468
registry: ghcr.io
65-
username: ${{ github.repository_owner }}
69+
username: ${{ github.actor }}
6670
password: ${{ secrets.PAT }} # `PAT` is a secret that contains your Personal Access Token with `write:packages` scope
6771
- name: Build and push Gimlet image
6872
id: build-and-push
@@ -95,4 +99,4 @@ jobs:
9599
COSIGNKEY: ${{ secrets.COSIGNKEY }}
96100
run: |
97101
# keyless mode
98-
cosign sign ghcr.io/gimlet-io/capacitor-manifests@${{ steps.build-and-push.outputs.digest }} -y
102+
cosign sign ghcr.io/gimlet-io/capacitor-manifests:${{ steps.version.outputs.version }} -y

0 commit comments

Comments
 (0)