Skip to content

Commit 3a7cf40

Browse files
authored
.github: Fix github token for publishing container
1 parent f3a572b commit 3a7cf40

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,6 @@ jobs:
8282
- name: Check out code into the Go module directory
8383
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
8484

85-
- name: Set up Go
86-
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a # tag=v3.2.1
87-
with:
88-
go-version-file: 'go.mod'
89-
check-latest: true
90-
9185
- name: Get branch name
9286
shell: bash
9387
run: echo "GITHUB_BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | tr / -)" >> $GITHUB_ENV
@@ -106,7 +100,7 @@ jobs:
106100
- name: Login to registry
107101
if: ${{ github.event_name != 'pull_request' }}
108102
run: |
109-
echo "${{ secrets.PERSONAL_ACCESS_TOKEN }}" | podman login -u parca-dev --password-stdin ghcr.io
103+
echo "${{ secrets.GITHUB_TOKEN }}" | podman login -u parca-dev --password-stdin ghcr.io
110104
111105
- name: Install cosign
112106
uses: sigstore/cosign-installer@09a077b27eb1310dcfb21981bee195b30ce09de0 # tag=v2.5.0

0 commit comments

Comments
 (0)