This commit is contained in:
bacon
2024-03-21 02:47:04 +03:00
parent bbb597f5f6
commit 581d9d4c84

View File

@@ -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: