Skip to content

Commit

Permalink
push sha
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkrellenstein committed Dec 18, 2024
1 parent 472a0ee commit 4956dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
elif [[ ${{ github.event_name }} == 'push' && ${{ github.ref }} == 'refs/heads/develop' ]]; then
export VERSION=develop
else
export VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')
export VERSION={{ github.sha }}
fi
docker build -t $DOCKER_REPO:$VERSION .
docker tag $DOCKER_REPO:$VERSION $DOCKER_REPO:latest
Expand Down

0 comments on commit 4956dbf

Please sign in to comment.