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:
|
build-image:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
GHCR_USERNAME: ${{ secrets.GHCR_USERNAME }}
|
|
||||||
GHCR_PASSWORD: ${{ secrets.GHCR_PASSWORD }}
|
|
||||||
GHCR_IMAGE: ghcr.io/cgduncan7/autobaan
|
GHCR_IMAGE: ghcr.io/cgduncan7/autobaan
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
|
|
@ -17,8 +15,8 @@ jobs:
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.GHCR_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.GHCR_PASSWORD }}
|
||||||
- name: Build docker image
|
- name: Build docker image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue