Skip to content

Commit

Permalink
[TASK] Add docker image source folder to release
Browse files Browse the repository at this point in the history
  • Loading branch information
sbuerk committed Sep 27, 2024
1 parent ada6b1a commit cb63396
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,13 @@ jobs:
[[ -z "${LATEST_RELEASE_TAG}" ]] && echo ">> ERR: empty LATEST_RELEASE_TAG" && exit 1
if [[ "${TAG_VALID}" -eq 1 ]]; then
gh release create \
tar -czf .tarballs/image-source.tgz -C wv-deeplmockapi-server . \
&& gh release create \
${IMAGE_VERSION_FULL} \
--generate-notes \
--verify-tag \
--title "[RELEASE] ${IMAGE_VERSION_FULL}: ${LATEST_USED_RELEASE} => ${LATEST_RELEASE_TAG}"
--title "[RELEASE] ${IMAGE_VERSION_FULL}: ${LATEST_USED_RELEASE} => ${LATEST_RELEASE_TAG}" \
.tarballs/*.tgz
echo ">> Release created
else
echo ">> Failed to create release
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/.idea
#
# scripts/version-up.sh artifacts
/version.properties
/version.properties
1 change: 1 addition & 0 deletions .tarballs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.tgz

0 comments on commit cb63396

Please sign in to comment.