Fixing username and password for GHCR
This commit is contained in:
parent
3546dc6f89
commit
e1eeb8d75d
1 changed files with 2 additions and 4 deletions
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
|
@ -7,8 +7,6 @@ jobs:
|
|||
build-image:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GHCR_USERNAME: ${{ secrets.GHCR_USERNAME }}
|
||||
GHCR_PASSWORD: ${{ secrets.GHCR_PASSWORD }}
|
||||
GHCR_IMAGE: ghcr.io/cgduncan7/autobaan
|
||||
steps:
|
||||
- name: Set up Docker Buildx
|
||||
|
|
@ -17,8 +15,8 @@ jobs:
|
|||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
username: ${{ secrets.GHCR_USERNAME }}
|
||||
password: ${{ secrets.GHCR_PASSWORD }}
|
||||
- name: Build docker image
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue