Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sebastian Schüpbach
Metrics Client
Commits
484535c3
Verified
Commit
484535c3
authored
Aug 23, 2021
by
Sebastian Schüpbach
Browse files
remove binary name from docker image tag
the binary file name is unnecessary since only one binary file is generated
parent
3b9603fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
484535c3
...
...
@@ -53,21 +53,21 @@ build:
build-tagged-image
:
extends
:
.build-image
variables
:
IMAGE_TAG
:
"
$CI_REGISTRY_IMAGE:$
BIN_NAME-$
CI_COMMIT_TAG"
IMAGE_TAG
:
"
$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG"
only
:
-
tags
build-latest-image
:
extends
:
.build-image
variables
:
IMAGE_TAG
:
"
$CI_REGISTRY_IMAGE:
$BIN_NAME-
latest"
IMAGE_TAG
:
"
$CI_REGISTRY_IMAGE:latest"
only
:
-
master
build-feature-branch-image
:
extends
:
.build-image
variables
:
IMAGE_TAG
:
"
$CI_REGISTRY_IMAGE:$
BIN_NAME-$
CI_COMMIT_REF_NAME"
IMAGE_TAG
:
"
$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"
except
:
-
master
-
tags
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment