From 3a7cf4081af6bb0c551fee8e7e88c25f64d983af Mon Sep 17 00:00:00 2001 From: Frederic Branczyk Date: Fri, 14 Jul 2023 15:21:30 +0200 Subject: [PATCH] .github: Fix github token for publishing container --- .github/workflows/release.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ae9cc0..c10c82e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,12 +82,6 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2 - - name: Set up Go - uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a # tag=v3.2.1 - with: - go-version-file: 'go.mod' - check-latest: true - - name: Get branch name shell: bash run: echo "GITHUB_BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | tr / -)" >> $GITHUB_ENV @@ -106,7 +100,7 @@ jobs: - name: Login to registry if: ${{ github.event_name != 'pull_request' }} run: | - echo "${{ secrets.PERSONAL_ACCESS_TOKEN }}" | podman login -u parca-dev --password-stdin ghcr.io + echo "${{ secrets.GITHUB_TOKEN }}" | podman login -u parca-dev --password-stdin ghcr.io - name: Install cosign uses: sigstore/cosign-installer@09a077b27eb1310dcfb21981bee195b30ce09de0 # tag=v2.5.0