diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1e084e..a546387 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,11 +23,11 @@ jobs: with: go-version: '^1.20' - name: Docker Login - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io - username: ${{ secrets.GH_USERNAME }} - password: ${{ secrets.GH_PAT }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: goreleaser/goreleaser-action@v4 with: distribution: goreleaser diff --git a/.github/workflows/sbom-upload.yml b/.github/workflows/sbom-upload.yml index 9115b2d..a5ab360 100644 --- a/.github/workflows/sbom-upload.yml +++ b/.github/workflows/sbom-upload.yml @@ -33,7 +33,7 @@ jobs: steps: - uses: actions/checkout@master - name: Docker Login - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }}