Skip to content

Commit

Permalink
replace slashes with dashes
Browse files Browse the repository at this point in the history
  • Loading branch information
rambo committed Apr 20, 2024
1 parent c11468f commit 064b371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ jobs:
- name: Set DOCKER_TAG_EXTRA if date
run: |
test "${{ matrix.extra_env }}" = "date" && echo "DOCKER_TAG_EXTRA=-$(date +%Y%m%d)" >> ${GITHUB_ENV} || true
test "${{ github.ref }}" = "refs/heads/main" || echo "DOCKER_TAG_EXTRA=-${{ github.ref_name }}" >> ${GITHUB_ENV}
test "${{ github.ref }}" = "refs/heads/main" || echo "DOCKER_TAG_EXTRA=-${{ github.ref_name/\//- }}" >> ${GITHUB_ENV}
cat ${GITHUB_ENV}
- name: Build and push takinit
run: |
Expand Down

0 comments on commit 064b371

Please sign in to comment.