chore(build): don't build images for feature branches

- deploy always "development" tag
This commit is contained in:
Dimitri Herzog 2023-03-07 16:29:05 +01:00
parent d6dd2ed1be
commit 88de7c16f7
1 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,6 @@ on:
push:
branches:
- master
- fb-*
permissions:
security-events: write
@ -112,9 +111,9 @@ jobs:
echo "build_time=${BUILD_TIME}" >> $GITHUB_OUTPUT
echo "BUILD_TIME: ${BUILD_TIME}"
TAGS="ghcr.io/${REPOSITORY}:${BRANCH}"
TAGS="ghcr.io/${REPOSITORY}:${BRANCH} , ghcr.io/${REPOSITORY}:development"
if [[ "${{ github.repository_owner }}" == "0xERR0R" ]]; then
TAGS="${TAGS} , spx01/blocky:${BRANCH}"
TAGS="${TAGS} , spx01/blocky:${BRANCH} , spx01/blocky:development"
fi
echo "tags=${TAGS}" >> $GITHUB_OUTPUT
echo "TAGS: ${TAGS}"