Skip to content

Commit

Permalink
#68: Add CI_VERSION build arg for non-tagged image
Browse files Browse the repository at this point in the history
  • Loading branch information
kenmeacham committed Jul 4, 2024
1 parent e268ba5 commit 351147c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
TAG_LATEST=${TAG_ROOT}:${REF_END}-latest
echo "TAG_DATE=${TAG_DATE}" >> ${GITHUB_ENV}
echo "TAG_LATEST=${TAG_LATEST}" >> ${GITHUB_ENV}
docker build --tag ${TAG_DATE} --tag ${TAG_LATEST} --build-arg CI_COMMIT_SHA=${GITHUB_SHA} --build-arg CI_COMMIT_TIMESTAMP=${TIMESTAMP} --file Dockerfile --target ssm-production "."
docker build --tag ${TAG_DATE} --tag ${TAG_LATEST} --build-arg CI_VERSION=${REF_END}-latest --build-arg CI_COMMIT_SHA=${GITHUB_SHA} --build-arg CI_COMMIT_TIMESTAMP=${TIMESTAMP} --file Dockerfile --target ssm-production "."
fi
- name: Push Docker image to registry
Expand Down

0 comments on commit 351147c

Please sign in to comment.