Skip to content

Commit a9de43e

Browse files
Merge pull request #1 from EvolutionAPI/chore/build-develop-images
ci: also build and publish develop images for staging
2 parents c9a986a + e91271c commit a9de43e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/docker-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build & Publish Docker Image
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, develop]
66
tags: ["v*.*.*"]
77

88
permissions:
@@ -93,6 +93,8 @@ jobs:
9393
TAGS="${IMAGE}:${VERSION},${IMAGE}:latest"
9494
elif [[ "${GH_REF}" == refs/heads/main ]]; then
9595
TAGS="${IMAGE}:latest,${IMAGE}:main-${SHA_SHORT}"
96+
elif [[ "${GH_REF}" == refs/heads/develop ]]; then
97+
TAGS="${IMAGE}:develop,${IMAGE}:develop-${SHA_SHORT}"
9698
fi
9799
98100
echo "tags=${TAGS}" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)