From b835c40bbdc126e97256c0342d10aa0b09ac14e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 27 Jan 2023 21:49:56 +0100 Subject: [PATCH] workflows: Push the builder image to quay.io MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let's push the builder images to a registry, so we can take advantage of those on each step of our building process. Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/kata-deploy-push.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/kata-deploy-push.yaml b/.github/workflows/kata-deploy-push.yaml index c7d7e8cb4e..548391fb5a 100644 --- a/.github/workflows/kata-deploy-push.yaml +++ b/.github/workflows/kata-deploy-push.yaml @@ -28,6 +28,13 @@ jobs: - virtiofsd - nydus steps: + - 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 }} + - uses: actions/checkout@v2 - name: Install docker if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }} @@ -44,6 +51,7 @@ jobs: sudo cp -r --preserve=all "${build_dir}" "kata-build" env: KATA_ASSET: ${{ matrix.asset }} + PUSH_TO_REGISTRY: yes - name: store-artifact ${{ matrix.asset }} if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}