Skip to content

Commit

Permalink
.gitlab-ci.yml: added docker cross-platform tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alesmrazek committed Nov 12, 2024
1 parent 15e9c9a commit 0bdbe74
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,15 +246,23 @@ 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
when: manual
# 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:
Expand Down

0 comments on commit 0bdbe74

Please sign in to comment.