Commits (4)
---
default:
image: 'docker:19.03.13'
stages:
- 'sync'
'Sync gentoo/stage3:amd64-systemd':
default:
image: '${CI_REGISTRY}/nest/tools/buildah:${CI_HOST_PLATFORM}'
before_script:
- 'buildah login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"'
'Sync amd64':
stage: 'sync'
variables:
ARCH: 'amd64'
script: &script
- 'buildah pull gentoo/stage3:${ARCH}'
- 'buildah tag gentoo/stage3:${ARCH} "${CI_REGISTRY_IMAGE}:${ARCH}"'
- 'buildah push "${CI_REGISTRY_IMAGE}:${ARCH}"'
'Sync arm64':
stage: 'sync'
tags: ['docker']
script:
- 'docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY'
- 'docker pull gentoo/stage3:amd64-systemd'
- 'docker tag gentoo/stage3:amd64-systemd $CI_REGISTRY_IMAGE:amd64-systemd'
- 'docker push $CI_REGISTRY_IMAGE:amd64-systemd'
variables:
ARCH: 'arm64'
script: *script