Fix environment variable

This commit is contained in:
2024-01-15 16:35:53 -06:00
parent 6e48cdef3d
commit f0eb7e1b05

View File

@@ -36,7 +36,10 @@ jobs:
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: 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 - name: Build and push Docker image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
@@ -45,4 +48,4 @@ jobs:
file: ./Dockerfile file: ./Dockerfile
push: true push: true
tags: "latest" tags: "latest"
labels: ${{ env.REPOSITORY }}/${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}