Commit b9d4db8a authored by totte's avatar totte
Browse files

Tag the manifest before annotating it

parent 8aada7b0
......@@ -181,6 +181,7 @@ production images:
- docker pull ${CI_REGISTRY_IMAGE}/${CI_PROJECT_NAME}-arm:latest
- docker tag ${CI_REGISTRY_IMAGE}/${CI_PROJECT_NAME}-arm:latest ${CI_REGISTRY_IMAGE}/${CI_PROJECT_NAME}-arm:$CI_COMMIT_TAG
- docker push ${CI_REGISTRY_IMAGE}/${CI_PROJECT_NAME}-arm:$CI_COMMIT_TAG
- docker tag ${CI_REGISTRY_IMAGE}/${CI_PROJECT_NAME}:latest ${CI_REGISTRY_IMAGE}/${CI_PROJECT_NAME}:$CI_COMMIT_TAG
- docker manifest create ${CI_REGISTRY_IMAGE}:$CI_COMMIT_TAG ${CI_REGISTRY_IMAGE}/${CI_PROJECT_NAME}-amd64:$CI_COMMIT_TAG ${CI_REGISTRY_IMAGE}/${CI_PROJECT_NAME}-arm:$CI_COMMIT_TAG
- docker manifest annotate --arch amd64 --os linux ${CI_REGISTRY_IMAGE}:$CI_COMMIT_TAG ${CI_REGISTRY_IMAGE}/${CI_PROJECT_NAME}-amd64
- docker manifest annotate --arch arm --variant v7 --os linux ${CI_REGISTRY_IMAGE}:$CI_COMMIT_TAG ${CI_REGISTRY_IMAGE}/${CI_PROJECT_NAME}-arm
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment