Lauri Võsandi
92b6d74ea1
Some checks failed
ci/woodpecker/push/build/1 Pipeline was successful
ci/woodpecker/push/build/2 Pipeline failed
ci/woodpecker/push/manifest unknown status
ci/woodpecker/manual/build/2 Pipeline failed
ci/woodpecker/manual/build/1 Pipeline failed
ci/woodpecker/manual/manifest unknown status
32 lines
796 B
YAML
32 lines
796 B
YAML
---
|
|
skip_clone: true
|
|
|
|
steps:
|
|
- name: manifest
|
|
image: mirror.gcr.io/mplatform/manifest-tool:alpine-v2.1.6
|
|
secrets:
|
|
- docker_username
|
|
- docker_password
|
|
commands:
|
|
- set -u
|
|
- ls -lash
|
|
- env
|
|
- |
|
|
cat << EOF > spec.yaml
|
|
image: "harbor.k-space.ee/${CI_REPO}:latest"
|
|
manifests:
|
|
- image: "harbor.k-space.ee/${CI_REPO}:latest-amd64"
|
|
platform:
|
|
architecture: amd64
|
|
os: linux
|
|
- image: "harbor.k-space.ee/${CI_REPO}:latest-arm64"
|
|
platform:
|
|
architecture: arm64
|
|
os: linux
|
|
EOF
|
|
- /manifest-tool --username $docker_username --password $docker_password push from-spec spec.yaml > stdout
|
|
- cat stdout
|
|
|
|
depends_on:
|
|
- build
|