kind: pipeline type: docker name: build-arm64 platform: os: linux arch: arm64 trigger: branch: - main steps: - name: build-arm64 image: plugins/docker settings: username: james password: from_secret: REGISTRY_TOKEN registry: harton.dev repo: harton.dev/james/asdf_container cache_from: harton.dev/james/asdf_container:latest-arm64 platform: linux/arm64 pull: true tags: - latest-arm64 --- kind: pipeline type: docker name: build-amd64 platform: os: linux arch: amd64 trigger: branch: - main steps: - name: build-amd64 image: plugins/docker settings: username: james password: from_secret: REGISTRY_TOKEN registry: harton.dev repo: harton.dev/james/asdf_container cache_from: harton.dev/james/asdf_container:latest-amd64 platform: linux/amd64 pull: true tags: - latest-amd64 --- kind: pipeline type: docker name: manifest depends_on: - build-arm64 - build-amd64 trigger: branch: - main steps: - name: manifest image: plugins/manifest settings: username: james password: from_secret: REGISTRY_TOKEN registry: harton.dev target: harton.dev/james/asdf_container:latest template: harton.dev/james/asdf_container:latest-ARCH platforms: - linux/arm64 - linux/amd64