From 9b01d87088e1ab1f8bc11e4eaabdb421cfc9505e Mon Sep 17 00:00:00 2001 From: "Borie, Niels" Date: Tue, 5 Mar 2024 21:54:43 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Build=203.9=20and=203.12=20docke?= =?UTF-8?q?r=20images=20on=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_and_publish.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 50ac940..f15cb85 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -30,12 +30,11 @@ jobs: sudo rm -rf /opt/ghc sudo rm -rf "/usr/local/share/boost" sudo rm -rf "$AGENT_TOOLSDIRECTORY" - - name: ⚙️ Build and push image + - name: ⚙️📤 Build and push image run: | - make build-all-images - - name: 📤 Push images - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' - run: | - make push-all-images + if [ "${{ github.ref }}" != 'refs/heads/main' ] && [ "${{ github.ref }}" != 'refs/heads/develop' ]; then + SUPPORTED_PYTHON_VERSIONS="3.9 3.12" + fi + make build-and-push-all-images - name: 🎉 Image digest run: echo ${{ steps.docker_build.outputs.digest }}