mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Merge branch 'fix-mr360' into 'master'
Fix image pushing on CI in MR 360 See merge request gitlab-org/gitlab-build-images!367
This commit is contained in:
commit
a5577a9465
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ variables:
|
||||||
- set -- $CI_JOB_NAME
|
- set -- $CI_JOB_NAME
|
||||||
- docker pull "$CI_REGISTRY_IMAGE:$1" || true
|
- 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 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
|
.test_custom: &test_custom
|
||||||
extends: .test
|
extends: .test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue