Fix environment variable
This commit is contained in:
@@ -36,7 +36,10 @@ jobs:
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ${{ env.REPOSITORY }}/${{ env.IMAGE_NAME }}
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
|
||||
- name: Echo metadata
|
||||
run: echo "Tags=${{ steps.meta.outputs.tags }} Labels=${{ steps.meta.outputs.labels }}"
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
@@ -45,4 +48,4 @@ jobs:
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: "latest"
|
||||
labels: ${{ env.REPOSITORY }}/${{ steps.meta.outputs.labels }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
Reference in New Issue
Block a user