Skip to content

Commit

Permalink
Tag docker image with version tag as well as long version
Browse files Browse the repository at this point in the history
  • Loading branch information
hkeward committed Apr 21, 2023
1 parent ba4b254 commit a6286be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
id: prep
run: |
IMAGE="dnastack/wdl-ci"
VERSION_TAG=`git describe --tags --long --always`
VERSION_TAG=`git describe --tags`
LONG_VERSION_TAG=`git describe --tags --long --always`
LATEST_TAG="latest"
ALL_TAGS="${IMAGE}:${VERSION_TAG},${IMAGE}:${LATEST_TAG}"
ALL_TAGS="${IMAGE}:${VERSION_TAG},${IMAGE}:${LONG_VERSION_TAG},${IMAGE}:${LATEST_TAG}"
echo ::set-output name=all_tags::${ALL_TAGS}
- name: set up QEMU
Expand Down

0 comments on commit a6286be

Please sign in to comment.