Skip to content

Commit

Permalink
VOC-4594 | Fix ref_name access in docker-image-tag step
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Magtoto committed Sep 27, 2024
1 parent 4273115 commit 01e8c65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-versioned-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
run: |
sha_short=$(git rev-parse --short HEAD)
timestamp=$(date +'%Y%m%d_%H%M%S')
ref="${{ steps.github-ref-name.outputs.ref }}"
sha_tag="${ref}-${sha_short}"
timestamp_tag="${ref}-${timestamp}"
echo "Docker image tags are ${sha_tag} and ${timestamp_tag}"
Expand Down

0 comments on commit 01e8c65

Please sign in to comment.