mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-31 04:04:24 +01:00
Let's only try to login to the registry that's being passed as an input argument. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
name: Kata Containers CI
|
|
on:
|
|
workflow_run:
|
|
workflows:
|
|
- Commit Message Check
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
build-kata-static-tarball-amd64:
|
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
|
uses: ./.github/workflows/build-kata-static-tarball-amd64.yaml
|
|
with:
|
|
checkout-ref: ${{ github.event.workflow_run.head_sha }}
|
|
tarball-suffix: -${{ github.event.workflow_run.head_sha }}
|
|
|
|
publish-kata-deploy-payload-amd64:
|
|
needs: build-kata-static-tarball-amd64
|
|
uses: ./.github/workflows/publish-kata-deploy-payload-amd64.yaml
|
|
with:
|
|
checkout-ref: ${{ github.event.workflow_run.head_sha }}
|
|
tarball-suffix: -${{ github.event.workflow_run.head_sha }}
|
|
registry: ghcr.io
|
|
repo: ${{ github.repository_owner }}/kata-deploy-ci
|
|
tag: ${{ github.event.workflow_run.head_sha }}-amd64
|
|
secrets: inherit
|
|
|
|
run-k8s-tests-on-aks:
|
|
needs: publish-kata-deploy-payload-amd64
|
|
uses: ./.github/workflows/run-k8s-tests-on-aks.yaml
|
|
with:
|
|
checkout-ref: ${{ github.event.workflow_run.head_sha }}
|
|
registry: ghcr.io
|
|
repo: ${{ github.repository_owner }}/kata-deploy-ci
|
|
tag: ${{ github.event.workflow_run.head_sha }}-amd64
|
|
secrets: inherit
|