We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fcfaac commit cd49a76Copy full SHA for cd49a76
.gitlab-ci.yml
@@ -115,11 +115,10 @@ build:buildx-tags-or-branch:
115
echo "Not building by tag as CI_COMMIT_TAG is empty"
116
fi
117
if [ ! -z $CI_COMMIT_BRANCH ]; then
118
- echo "Building $CI_COMMIT_BRANCH (branch mode)"
+ echo "Building $CI_COMMIT_BRANCH (branch mode - pick latest version, don't use VERSION=)"
119
echo "Repo to push to $CI_APPLICATION_REPOSITORY:$CI_COMMIT_SHORT_SHA"
120
docker buildx build \
121
--platform $CI_BUILDX_ARCHS \
122
- --build-arg VERSION=$CI_COMMIT_SHORT_SHA \
123
--progress plain --pull \
124
-t "$CI_APPLICATION_REPOSITORY:$CI_COMMIT_SHORT_SHA" --push \
125
.
0 commit comments