26 lines
1.2 KiB
YAML
26 lines
1.2 KiB
YAML
x86_64:build-manifest:
|
|
stage: build-manifest
|
|
script:
|
|
- docker manifest create ${CI_REGISTRY_IMAGE}:${VERSION} ${CI_REGISTRY_IMAGE}:${VERSION}-x86_64 ${CI_REGISTRY_IMAGE}:${VERSION}-arm64 ${CI_REGISTRY_IMAGE}:${VERSION}-armv7l
|
|
- docker manifest push --purge ${CI_REGISTRY_IMAGE}:${VERSION}
|
|
- apk add --no-cache curl
|
|
- if [ -n "${AUTO_BUILD}" ]; then curl -LX POST --post301 -F token=${TRIGGER_TOKEN} -F ref=pgsql ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/trigger/pipeline; fi
|
|
- if [ -n "${AUTO_BUILD}" ]; then curl -LX POST --post301 -F token=${TRIGGER_TOKEN} -F ref=mysql ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/trigger/pipeline; fi
|
|
- if [ -n "${AUTO_BUILD}" ]; then curl -LX POST --post301 -F token=${TRIGGER_TOKEN} -F ref=ldap ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/trigger/pipeline; fi
|
|
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}-x86_64-test #${CI_REGISTRY_IMAGE}:${VERSION}-arm64-test #${CI_REGISTRY_IMAGE}:${VERSION}-armv7l-test
|
|
- docker manifest push --purge ${CI_REGISTRY_IMAGE}:${VERSION}-test
|
|
tags:
|
|
- docker
|
|
- x86_64
|
|
only:
|
|
- alpine
|