diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 7515891..021cc33 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -39,6 +39,9 @@ jobs: - name: Build and push Docker image run: | bash -c "$PRE_BUILD_SCRIPT" + pushd source + git rev-parse HEAD + popd export IMAGE_TAG="$REGISTRY/$IMAGE_NAME:$TAG_NAME" echo "Building image $IMAGE_TAG" docker build -t $IMAGE_TAG . diff --git a/Dockerfile b/Dockerfile index 42c2a78..43d8a8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /app COPY ./source . -RUN npm install -g pnpm@8.9.1 +RUN npm install -g pnpm@8.11.0 RUN pnpm i RUN pnpm build