22 lines
728 B
YAML
22 lines
728 B
YAML
x86_64:build-manifest:
|
|
stage: build-manifest
|
|
script:
|
|
- docker manifest create ${CI_REGISTRY_IMAGE}:${VERSION} ${CI_REGISTRY_IMAGE}:${VERSION}-armv7l ${CI_REGISTRY_IMAGE}:${VERSION}-x86_64 ${CI_REGISTRY_IMAGE}:${VERSION}-arm64
|
|
- docker manifest push --purge ${CI_REGISTRY_IMAGE}:${VERSION}
|
|
tags:
|
|
- docker
|
|
- x86_64
|
|
only:
|
|
- alpine
|
|
|
|
x86_64:build-manifest-test:
|
|
stage: build-manifest-test
|
|
script:
|
|
- docker manifest create ${CI_REGISTRY_IMAGE}:${VERSION}-test ${CI_REGISTRY_IMAGE}:${VERSION}-armv7l-test ${CI_REGISTRY_IMAGE}:${VERSION}-x86_64-test ${CI_REGISTRY_IMAGE}:${VERSION}-arm64-test
|
|
- docker manifest push --purge ${CI_REGISTRY_IMAGE}:${VERSION}-test
|
|
tags:
|
|
- docker
|
|
- x86_64
|
|
only:
|
|
- alpine
|