We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c9a986a + e91271c commit a9de43eCopy full SHA for a9de43e
1 file changed
.github/workflows/docker-publish.yml
@@ -2,7 +2,7 @@ name: Build & Publish Docker Image
2
3
on:
4
push:
5
- branches: [main]
+ branches: [main, develop]
6
tags: ["v*.*.*"]
7
8
permissions:
@@ -93,6 +93,8 @@ jobs:
93
TAGS="${IMAGE}:${VERSION},${IMAGE}:latest"
94
elif [[ "${GH_REF}" == refs/heads/main ]]; then
95
TAGS="${IMAGE}:latest,${IMAGE}:main-${SHA_SHORT}"
96
+ elif [[ "${GH_REF}" == refs/heads/develop ]]; then
97
+ TAGS="${IMAGE}:develop,${IMAGE}:develop-${SHA_SHORT}"
98
fi
99
100
echo "tags=${TAGS}" >> "$GITHUB_OUTPUT"
0 commit comments