Skip to content

Commit

Permalink
Update docker.yaml (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-lobur authored May 1, 2023
1 parent 7e458aa commit a4d6a82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
id: get_build_version
run: |
if [[ $GITHUB_REF == refs/tags/* ]]; then
echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
elif [[ $GITHUB_REF == refs/pull/* ]]; then
echo ::set-output name=VERSION::pr-${{ github.event.pull_request.number }}-merge
echo "VERSION=pr-${{ github.event.pull_request.number }}-merge" >> $GITHUB_OUTPUT
else
echo ::set-output name=VERSION::${GITHUB_SHA}
echo "VERSION=${GITHUB_SHA}" >> $GITHUB_OUTPUT
fi
- name: Prepare tags for Docker image
Expand Down

0 comments on commit a4d6a82

Please sign in to comment.