From ded8e03f336ef45b45c2dd8c781b03357defb724 Mon Sep 17 00:00:00 2001 From: Eric Ernst Date: Fri, 15 Jan 2021 07:44:55 -0800 Subject: [PATCH] actions: fixup release/main workflow Still need pkg-sha Fixes: #1273 Signed-off-by: Eric Ernst --- .github/workflows/main.yaml | 1 + .github/workflows/release.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 0f54e52178..5f3ed927ff 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -303,6 +303,7 @@ jobs: docker build --build-arg KATA_ARTIFACTS=kata-static.tar.xz -t katadocker/kata-deploy-ci:$pkg_sha ./packaging/kata-deploy docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} docker push katadocker/kata-deploy-ci:$pkg_sha + echo "::set-output name=PKG_SHA::${pkg_sha}" - name: test-kata-deploy-ci-in-aks uses: ./packaging/kata-deploy/action with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 70fa893617..47b641ed31 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -277,6 +277,7 @@ jobs: docker push katadocker/kata-deploy-ci:$pkg_sha mkdir -p packaging/kata-deploy ln -s $GITHUB_WORKSPACE/tools/packaging/kata-deploy/action packaging/kata-deploy/action + echo "::set-output name=PKG_SHA::${pkg_sha}" - name: test-kata-deploy-ci-in-aks uses: ./packaging/kata-deploy/action with: