This commit is contained in:
@@ -29,12 +29,14 @@ jobs:
|
||||
id: docker-tags
|
||||
run: |
|
||||
TAGS="calahilstudios/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest"
|
||||
TAGS="$TAGS calahilstudios/${{ github.repository_owner }}/${{ github.event.repository.name }}:${{ github.sha }}"
|
||||
TAGS="$TAGS
|
||||
calahilstudios/${{ github.repository_owner }}/${{ github.event.repository.name }}:${{ github.sha }}"
|
||||
|
||||
# Add version tag if this is a v* tag push
|
||||
if [[ "${{ github.ref }}" == refs/tags/v* ]]; then
|
||||
TAG_NAME="${{ github.ref_name }}"
|
||||
TAGS="$TAGS calahilstudios/${{ github.repository_owner }}/${{ github.event.repository.name }}:${TAG_NAME}"
|
||||
TAGS="$TAGS
|
||||
calahilstudios/${{ github.repository_owner }}/${{ github.event.repository.name }}:${TAG_NAME}"
|
||||
fi
|
||||
|
||||
echo "TAGS=$TAGS" >> $GITHUB_ENV
|
||||
|
||||
Reference in New Issue
Block a user