Fixing username and password for GHCR

This commit is contained in:
Collin Duncan 2023-05-26 16:44:33 -05:00
parent 3546dc6f89
commit e1eeb8d75d
No known key found for this signature in database

View file

@ -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: