diff --git a/.github/workflows/docker_build_push.sh b/.github/workflows/docker_build_push.sh index aeac344807133..b969813627c55 100755 --- a/.github/workflows/docker_build_push.sh +++ b/.github/workflows/docker_build_push.sh @@ -50,12 +50,27 @@ docker build --target lean \ -t "${REPO_NAME}:${SHA}" \ -t "${REPO_NAME}:${REFSPEC}" \ -t "${REPO_NAME}:${LATEST_TAG}" \ + --build-arg PY_VER="3.8-slim"\ --label "sha=${SHA}" \ --label "built_at=$(date)" \ --label "target=lean" \ --label "build_actor=${GITHUB_ACTOR}" \ . +# +# Build the "lean39" image +# +docker build --target lean \ + -t "${REPO_NAME}:${SHA}-py39" \ + -t "${REPO_NAME}:${REFSPEC}-py39" \ + -t "${REPO_NAME}:${LATEST_TAG}-py39" \ + --build-arg PY_VER="3.9-slim"\ + --label "sha=${SHA}" \ + --label "built_at=$(date)" \ + --label "target=lean39" \ + --label "build_actor=${GITHUB_ACTOR}" \ + . + # # Build the "websocket" image # @@ -65,7 +80,7 @@ docker build \ -t "${REPO_NAME}:${LATEST_TAG}-websocket" \ --label "sha=${SHA}" \ --label "built_at=$(date)" \ - --label "target=lean" \ + --label "target=websocket" \ --label "build_actor=${GITHUB_ACTOR}" \ superset-websocket