mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-08 00:44:25 +01:00
In `payload-after-push.yaml` we ended up mentioning cc-*.yaml workflows, which are non existent in the main branch. Let's adapt the name to the correct ones. Fixes: #6343 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
name: CI | Publish Kata Containers payload
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- stable-*
|
|
|
|
jobs:
|
|
build-assets-amd64:
|
|
uses: ./.github/workflows/payload-after-push-amd64.yaml
|
|
with:
|
|
target-arch: amd64
|
|
secrets: inherit
|
|
|
|
build-assets-arm64:
|
|
uses: ./.github/workflows/payload-after-push-arm64.yaml
|
|
with:
|
|
target-arch: arm64
|
|
secrets: inherit
|
|
|
|
build-assets-s390x:
|
|
uses: ./.github/workflows/payload-after-push-s390x.yaml
|
|
with:
|
|
target-arch: s390x
|
|
secrets: inherit
|
|
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
needs: [build-assets-amd64, build-assets-arm64, build-assets-s390x]
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Login to Kata Containers quay.io
|
|
uses: docker/login-action@v2
|
|
with:
|
|
registry: quay.io
|
|
username: ${{ secrets.QUAY_DEPLOYER_USERNAME }}
|
|
password: ${{ secrets.QUAY_DEPLOYER_PASSWORD }}
|
|
|
|
- name: Push multi-arch manifest
|
|
run: |
|
|
docker manifest create quay.io/kata-containers/kata-deploy-ci:kata-containers-latest \
|
|
--amend quay.io/kata-containers/kata-deploy-ci:kata-containers-amd64 \
|
|
--amend quay.io/kata-containers/kata-deploy-ci:kata-containers-arm64 \
|
|
--amend quay.io/kata-containers/kata-deploy-ci:kata-containers-s390x
|
|
docker manifest push quay.io/kata-containers/kata-deploy-ci:kata-containers-latest
|