Skip to content

Commit

Permalink
Merge pull request #3 from keboola/github-pipeline-fix
Browse files Browse the repository at this point in the history
Rem of test img tag -> passed to master via merge
  • Loading branch information
AlbSed authored Oct 18, 2024
2 parents f2b6622 + 35873e8 commit b9c2af7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ jobs:
- name: Set image tag
id: tag
run: |
app_img_tag=$(echo "$branch_name" | sed 's/\//-/g')-${GITHUB_RUN_NUMBER}
TAG="${GITHUB_REF##*/}-${app_img_tag}"
TAG="${GITHUB_REF##*/}"
IS_SEMANTIC_TAG=$(echo "$TAG" | grep -q '^v\?[0-9]\+\.[0-9]\+\.[0-9]\+$' && echo true || echo false)
echo "is_semantic_tag=$IS_SEMANTIC_TAG" | tee -a $GITHUB_OUTPUT
echo "app_image_tag=$TAG" | tee -a $GITHUB_OUTPUT
Expand Down

0 comments on commit b9c2af7

Please sign in to comment.