Created
April 23, 2018 14:07
-
-
Save hansamann/5ef98453a30d7bc34f7358c3002a0598 to your computer and use it in GitHub Desktop.
Manifest Stage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
manifest: | |
stage: manifest | |
dependencies: [] | |
variables: | |
GIT_STRATEGY: none | |
tags: | |
- local | |
script: | |
- echo ${GITLAB_REGISTRY_PASSWORD} | docker login -u ${GITLAB_REGISTRY_USER} --password-stdin ${CI_REGISTRY} | |
- docker manifest create ${CI_REGISTRY_IMAGE}:${DEPLOY_TAG} ${CI_REGISTRY_IMAGE}:arm32-${DEPLOY_TAG} ${CI_REGISTRY_IMAGE}:arm64-${DEPLOY_TAG} | |
- docker manifest annotate ${CI_REGISTRY_IMAGE}:${DEPLOY_TAG} ${CI_REGISTRY_IMAGE}:arm32-${DEPLOY_TAG} --os linux --arch arm | |
- docker manifest annotate ${CI_REGISTRY_IMAGE}:${DEPLOY_TAG} ${CI_REGISTRY_IMAGE}:arm64-${DEPLOY_TAG} --os linux --arch arm64 | |
- docker manifest push ${CI_REGISTRY_IMAGE}:${DEPLOY_TAG} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment