Skip to content

Commit d852ec2

Browse files
committed
include workflow run number in image tag
1 parent 17b5597 commit d852ec2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- name: Set image tag
6666
id: tag
6767
run: |
68-
TAG="${GITHUB_REF##*/}"
68+
TAG="${GITHUB_REF##*/}-${{ github.run_number }}"
6969
IS_SEMANTIC_TAG=$(echo "$TAG" | grep -q '^v\?[0-9]\+\.[0-9]\+\.[0-9]\+$' && echo true || echo false)
7070
echo "is_semantic_tag=$IS_SEMANTIC_TAG" | tee -a $GITHUB_OUTPUT
7171
echo "app_image_tag=$TAG" | tee -a $GITHUB_OUTPUT

0 commit comments

Comments
 (0)