Skip to content

Commit

Permalink
Fix sed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
WGOS committed Feb 2, 2024
1 parent 569aac0 commit de49085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:

- name: Set feature tag
if: ${{ startsWith(github.ref, 'refs/heads/feature/') }}
run: echo DOCKER_TAG=$(echo ${{ github.ref }} | sed 's|refs/heads/||g | sed 's|/|-|g') >> ${GITHUB_ENV}
run: echo DOCKER_TAG=$(echo ${{ github.ref }} | sed 's|refs/heads/||g' | sed 's|/|-|g') >> ${GITHUB_ENV}

- name: Set versioned tag
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: echo DOCKER_TAG=$(echo ${{ github.ref }} | sed 's|refs/tags/||g) >> ${GITHUB_ENV}
run: echo DOCKER_TAG=$(echo ${{ github.ref }} | sed 's|refs/tags/||g') >> ${GITHUB_ENV}

- name: Build and push Docker image
uses: docker/build-push-action@v2
Expand Down

0 comments on commit de49085

Please sign in to comment.