From cd51b6cd9e4aefa64270b8fd7af09e767adcd174 Mon Sep 17 00:00:00 2001 From: Jason DeTiberus Date: Fri, 17 Sep 2021 15:53:32 -0400 Subject: [PATCH] Attempt to fix publish image workflow --- .github/workflows/build-image.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index d9f1efb6..b674a692 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -28,6 +28,7 @@ jobs: uses: actions/checkout@v2.3.4 with: repository: kubernetes-sigs/image-builder + path: image-builder - name: Build the images run: | # TODO: use the right kubernetes version here @@ -50,5 +51,5 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Push the images run: | - oras push ${REGISTRY}/${{ github.repository }}/ubuntu-1804:${KUBERNETES_SEM_VERSION}.gz --manifest-config /dev/null:application/vnd.acme.rocket.config output/ubuntu-1804-kube-${KUBERNETES_SEM_VERSION}.gz - oras push ${REGISTRY}/${{ github.repository }}/ubuntu-2004:${KUBERNETES_SEM_VERSION}.gz --manifest-config /dev/null:application/vnd.acme.rocket.config output/ubuntu-2004-kube-${KUBERNETES_SEM_VERSION}.gz + oras push ${REGISTRY}/${{ github.repository }}/ubuntu-1804:${KUBERNETES_SEM_VERSION}.gz --manifest-config /dev/null:application/vnd.acme.rocket.config image-builder/images/capi/output/ubuntu-1804-kube-${KUBERNETES_SEM_VERSION}.gz + oras push ${REGISTRY}/${{ github.repository }}/ubuntu-2004:${KUBERNETES_SEM_VERSION}.gz --manifest-config /dev/null:application/vnd.acme.rocket.config image-builder/images/capi/output/ubuntu-2004-kube-${KUBERNETES_SEM_VERSION}.gz