docker
This commit is contained in:
@@ -73,7 +73,6 @@ variables:
|
|||||||
services:
|
services:
|
||||||
- name: docker:25.0.5-dind
|
- name: docker:25.0.5-dind
|
||||||
entrypoint: [ "env", "-u", "DOCKER_HOST" ]
|
entrypoint: [ "env", "-u", "DOCKER_HOST" ]
|
||||||
command: [ "dockerd-entrypoint.sh" ]
|
|
||||||
|
|
||||||
Build:
|
Build:
|
||||||
stage: build
|
stage: build
|
||||||
@@ -100,7 +99,7 @@ Build:
|
|||||||
--label "org.opencontainers.image.version=$CI_COMMIT_REF_NAME" \
|
--label "org.opencontainers.image.version=$CI_COMMIT_REF_NAME" \
|
||||||
--tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA \
|
--tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA \
|
||||||
.
|
.
|
||||||
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
|
# - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
|
||||||
|
|
||||||
# Here, the goal is to tag the "master" branch as "latest"
|
# Here, the goal is to tag the "master" branch as "latest"
|
||||||
#Push latest:
|
#Push latest:
|
||||||
|
|||||||
Reference in New Issue
Block a user