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