Fix username reference and image path in Docker workflow
Some checks failed
Create and publish a Docker image for Linux / build-and-push-image (push) Failing after 17s
Some checks failed
Create and publish a Docker image for Linux / build-and-push-image (push) Failing after 17s
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
This commit is contained in:
4
.github/workflows/docker-image-linux.yml
vendored
4
.github/workflows/docker-image-linux.yml
vendored
@@ -26,14 +26,14 @@ jobs:
|
|||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ secrets.USER }}
|
username: ${{ env.USER }}
|
||||||
password: ${{ secrets.PASS }}
|
password: ${{ secrets.PASS }}
|
||||||
|
|
||||||
- name: Extract metadata for Docker
|
- name: Extract metadata for Docker
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/admin/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.USER }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest
|
type=raw,value=latest
|
||||||
type=sha,format=short
|
type=sha,format=short
|
||||||
|
|||||||
Reference in New Issue
Block a user