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 }}