mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Fix 'docker push' command in the '.build_and_deploy' shared job
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
0997e1aca8
commit
2510da1419
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ variables:
|
|||
- set -- $CI_JOB_NAME
|
||||
- docker pull "$CI_REGISTRY_IMAGE:$1" || true
|
||||
- docker build --cache-from="$CI_REGISTRY_IMAGE:$1" --label "ci_pipeline_url=$CI_PIPELINE_URL" --label "ci_job_url=$CI_JOB_URL" -t "$CI_REGISTRY_IMAGE:$1" -f "Dockerfile.$1" .
|
||||
- docker push "$CI_REGISTRY_IMAGE:$CI_JOB_NAME"
|
||||
- docker push "$CI_REGISTRY_IMAGE:$1"
|
||||
|
||||
.test_custom: &test_custom
|
||||
extends: .test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue