Skip to content

Commit

Permalink
Add tag substitution (#5)
Browse files Browse the repository at this point in the history
main -> latest
develop -> dev
release -> next
/ -> -
  • Loading branch information
alagishev authored Jan 20, 2025
1 parent b65ffa9 commit 0179a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
username: ${GITHUB_ACTOR}
password: ${{secrets.GITHUB_TOKEN}}
- name: Prepare Tag
run: echo "TAG_NAME=$(echo ${TAG_NAME} | sed 's@refs/tags/@@;s@refs/heads/@@;s@/@_@g')" >> $GITHUB_ENV
run: echo "TAG_NAME=$(echo ${TAG_NAME} | sed 's@refs/tags/@@;s@refs/heads/@@;0,/main/s//latest/;0,/develop/s//dev/;0,/release/s//next/;s@/@-@g;')" >> $GITHUB_ENV
- name: Get package IDs for delete
id: get-ids-for-delete
uses: Netcracker/[email protected]
Expand Down

0 comments on commit 0179a35

Please sign in to comment.