Expand deploy-image.yml triggers to include develop and feature/* branches.
Build and Push Docker Image / build-and-push (push) Successful in 13s

This commit is contained in:
2026-07-12 13:27:58 +02:00
parent c8afa1d930
commit 2b19efff45
+5 -2
View File
@@ -32,18 +32,21 @@ jobs:
REF="${{ github.ref_name }}" REF="${{ github.ref_name }}"
if [[ "${REF}" == v* ]]; then if [[ "${REF}" == v* ]]; then
TAG="${REF#v}" TAG="${REF#v}"
TAGS="${FULL_IMAGE}:${TAG},${FULL_IMAGE}:latest"
else else
TAG=$(echo "${REF}" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9._-]/-/g') TAG=$(echo "${REF}" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9._-]/-/g')
TAGS="${FULL_IMAGE}:${TAG}"
fi fi
echo "Registry: ${REGISTRY}" echo "Registry: ${REGISTRY}"
echo "Actor: ${ACTOR}" echo "Actor: ${ACTOR}"
echo "Image: ${FULL_IMAGE}:${TAG}" echo "Tags: ${TAGS}"
echo "registry=${REGISTRY}" >> "$GITHUB_OUTPUT" echo "registry=${REGISTRY}" >> "$GITHUB_OUTPUT"
echo "actor=${ACTOR}" >> "$GITHUB_OUTPUT" echo "actor=${ACTOR}" >> "$GITHUB_OUTPUT"
echo "image=${FULL_IMAGE}" >> "$GITHUB_OUTPUT" echo "image=${FULL_IMAGE}" >> "$GITHUB_OUTPUT"
echo "tag=${TAG}" >> "$GITHUB_OUTPUT" echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
echo "tags=${TAGS}" >> "$GITHUB_OUTPUT"
- name: Network Debug - name: Network Debug
run: | run: |
@@ -67,4 +70,4 @@ jobs:
with: with:
context: . context: .
push: true push: true
tags: ${{ steps.compute-tag.outputs.image }}:${{ steps.compute-tag.outputs.tag }} tags: ${{ steps.compute-tag.outputs.tags }}