mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-15 12:24:26 +01:00
This is to adjust the existing cc-payload-ci workflow for s390x. Fixes: #5660 Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
name: CI | Publish Kata Containers payload for Confidential Containers
|
|
on:
|
|
push:
|
|
branches:
|
|
- CCv0
|
|
|
|
jobs:
|
|
build-assets-amd64:
|
|
uses: ./.github/workflows/cc-payload-after-push-amd64.yaml
|
|
with:
|
|
target-arch: amd64
|
|
secrets: inherit
|
|
|
|
build-assets-s390x:
|
|
uses: ./.github/workflows/cc-payload-after-push-s390x.yaml
|
|
with:
|
|
target-arch: s390x
|
|
secrets: inherit
|
|
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
needs: [build-assets-amd64, build-assets-s390x]
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Login to Confidential Containers quay.io
|
|
uses: docker/login-action@v2
|
|
with:
|
|
registry: quay.io
|
|
username: ${{ secrets.COCO_QUAY_DEPLOYER_USERNAME }}
|
|
password: ${{ secrets.COCO_QUAY_DEPLOYER_PASSWORD }}
|
|
|
|
- name: Push multi-arch manifest
|
|
run: |
|
|
docker manifest create quay.io/confidential-containers/runtime-payload-ci:kata-containers-latest \
|
|
--amend quay.io/confidential-containers/runtime-payload-ci:kata-containers-amd64 \
|
|
--amend quay.io/confidential-containers/runtime-payload-ci:kata-containers-s390x
|
|
docker manifest push quay.io/confidential-containers/runtime-payload-ci:kata-containers-latest
|