Skip to content

Commit 4aa2104

Browse files
excluding minor version tag
1 parent e99bc6a commit 4aa2104

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/docker-compose-ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,13 @@ jobs:
119119
ver="${REF#refs/tags/}" # vX.Y.Z
120120
short="${ver#v}" # X.Y.Z
121121
minor="${short%.*}" # X.Y
122-
user_tags+=( "ghcr.io/${OWNER_LC}/${REPO_SLUG}/userapi:${ver}" "ghcr.io/${OWNER_LC}/${REPO_SLUG}/userapi:${minor}" )
123-
api_tags+=( "ghcr.io/${OWNER_LC}/${REPO_SLUG}/api:${ver}" "ghcr.io/${OWNER_LC}/${REPO_SLUG}/api:${minor}" )
124-
web_tags+=( "ghcr.io/${OWNER_LC}/${REPO_SLUG}/web:${ver}" "ghcr.io/${OWNER_LC}/${REPO_SLUG}/web:${minor}" )
125-
126-
# Uncomment if you want latest to follow releases instead of master:
127-
# user_tags+=( "ghcr.io/${OWNER_LC}/${REPO_SLUG}/userapi:latest" )
128-
# api_tags+=( "ghcr.io/${OWNER_LC}/${REPO_SLUG}/api:latest" )
129-
# web_tags+=( "ghcr.io/${OWNER_LC}/${REPO_SLUG}/web:latest" )
122+
# user_tags+=( "ghcr.io/${OWNER_LC}/${REPO_SLUG}/userapi:${ver}" "ghcr.io/${OWNER_LC}/${REPO_SLUG}/userapi:${minor}" )
123+
# api_tags+=( "ghcr.io/${OWNER_LC}/${REPO_SLUG}/api:${ver}" "ghcr.io/${OWNER_LC}/${REPO_SLUG}/api:${minor}" )
124+
# web_tags+=( "ghcr.io/${OWNER_LC}/${REPO_SLUG}/web:${ver}" "ghcr.io/${OWNER_LC}/${REPO_SLUG}/web:${minor}" )
125+
user_tags+=( "ghcr.io/${OWNER_LC}/${REPO_SLUG}/userapi:${ver}" )
126+
api_tags+=( "ghcr.io/${OWNER_LC}/${REPO_SLUG}/api:${ver}" )
127+
web_tags+=( "ghcr.io/${OWNER_LC}/${REPO_SLUG}/web:${ver}" )
128+
130129
fi
131130
132131
# Docker Hub mirrors (optional, only if namespace present)

0 commit comments

Comments
 (0)