Skip to content

Commit

Permalink
fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dodancs committed May 12, 2024
1 parent 4fcd7c4 commit afaf2d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Get current tag
run: echo "RELEASE_VERSION_1=$(echo $RELEASE_VERSION | cut '.' -f1)" >> $GITHUB_ENV
run: echo "RELEASE_VERSION_1=$(echo ${{ env.RELEASE_VERSION }} | cut '.' -f1)" >> $GITHUB_ENV

- name: Get current tag
run: echo "RELEASE_VERSION_2=$(echo $RELEASE_VERSION | cut '.' -f1,2)" >> $GITHUB_ENV
run: echo "RELEASE_VERSION_2=$(echo ${{ env.RELEASE_VERSION }} | cut '.' -f1,2)" >> $GITHUB_ENV

- name: Build the Docker image
run: |
Expand Down

0 comments on commit afaf2d1

Please sign in to comment.