Update docker-publish.yml

Hard code username to hopefully fix login
This commit is contained in:
Ian 2022-08-10 14:31:52 -07:00 committed by GitHub
parent 6d0e68aeea
commit 6dd4d6a367
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ on:
env:
# Use docker.io for Docker Hub if empty
REGISTRY: docker.io
REGISTRY_USERNAME: vividboarder
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
PLATFORMS: linux/amd64,linux/arm,linux/arm64
@ -60,7 +61,7 @@ jobs:
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
username: ${{ env.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
# Extract metadata (tags, labels) for Docker