Skip to content

Commit a54d989

Browse files
committed
docker-publish: The registry domain is part of the image name in the metadata step
1 parent 458a8fd commit a54d989

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/docker-publish.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
id: meta
4242
uses: docker/metadata-action@v4.4.0
4343
with:
44-
images: ${{ env.IMAGE_NAME }}
44+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4545

4646
# For logging into the GitHub registry, we can use our GitHub token.
4747
- name: Log in to registry
@@ -62,7 +62,6 @@ jobs:
6262
# After a build, push the image to the registry.
6363
# NOTE: Don't use this for push requests!
6464
push: true
65-
registry: ${{ env.REGISTRY }}
6665

6766
# Labels and Tags come from the Metadata extraction.
6867
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)