diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d6c877b..1dba9cf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -45,4 +45,5 @@ jobs: provenance: false platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }} + buildargs: IMAGE_NAME = ${{ env.IMAGE_NAME }} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 3cc3245..aca75b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Use an official Node.js runtime as the base image FROM --platform=$BUILDPLATFORM node:20-alpine as build -LABEL org.opencontainers.image.source="https://github.com/CapyIT/WebTemplate" +LABEL org.opencontainers.image.source="https://github.com/"${IMAGE_NAME} # Set the working directory in the container WORKDIR /usr/src/app