diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8eadbd339..c4b4dcdc6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -246,6 +246,15 @@ docker:build:cross-platform: --tag ${GITLAB_REGISTRY}:${CI_COMMIT_BRANCH} . +docker:test:cross-platform: + <<: *docker + <<: *multi_platform + image: ${GITLAB_REGISTRY}:${CI_COMMIT_BRANCH} + needs: + - docker:build:cross-platform + script: + - exit 0 + docker:cross-platform:deploy: <<: *docker stage: deploy @@ -253,8 +262,7 @@ docker:cross-platform:deploy: # only: # - tags needs: - - docker:build - - docker:build:cross-platform + - docker:test:cross-platform before_script: - echo "$DOCKER_HUB_TOKEN" | docker login -u $DOCKER_HUB_USER --password-stdin script: