GHA: Update Login Action

This commit is contained in:
suika 2022-10-30 21:15:00 +01:00
parent 6987094e4d
commit 592dc12d86
2 changed files with 8 additions and 8 deletions

View File

@ -38,8 +38,8 @@ jobs:
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }} username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- -
name: Build name: Build
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
@ -85,8 +85,8 @@ jobs:
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }} username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- -
name: Build name: Build
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3

View File

@ -38,8 +38,8 @@ jobs:
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }} username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- -
name: Build name: Build
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
@ -85,8 +85,8 @@ jobs:
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }} username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- -
name: Build name: Build
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3