try 3
Some checks failed
Build and Push Docker Image / build (push) Failing after 8s

This commit is contained in:
2025-10-23 17:08:05 -07:00
parent f1ddee1b6e
commit 035811115e

View File

@@ -10,6 +10,7 @@ on:
jobs: jobs:
build: build:
runs-on: prodesk runs-on: prodesk
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -30,9 +31,10 @@ jobs:
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 }}"
# Only add 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
TAGS="$TAGS calahilstudios/${{ github.repository_owner }}/${{ github.event.repository.name }}:${GITHUB_REF#refs/tags/}" TAG_NAME="${{ github.ref_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