Skip to content

Commit

Permalink
Add DOCKER_TAG from .env in release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: marcel <wagmarcel@web.de>
  • Loading branch information
wagmarcel authored and abhijith-hr committed May 22, 2024
1 parent 40d149e commit 658b821
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
run: |
set +o pipefail
docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}"
# Export current docker tag (release version) as env variable DOCKER_TAG
export $(cat .env | xargs)
TARGET_DOCKER_TAG=`git describe --tags --exact-match` || exit 1
echo Selected tag ${TARGET_DOCKER_TAG}
# Tag and push passed "k3d-iff.localhost:12345" with release tag
Expand Down

0 comments on commit 658b821

Please sign in to comment.