Skip to content

Commit

Permalink
removing lean39 from matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jan 23, 2024
1 parent 5dff290 commit 49a6f9b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target: ["dev", "lean", "lean310", "lean39", "websocket", "dockerize"]
target: ["dev", "lean", "lean310", "websocket", "dockerize"]
platform: ["linux/amd64", "linux/arm64"]
fail-fast: false
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target: ["dev", "lean", "lean310", "lean39", "websocket", "dockerize"]
target: ["dev", "lean", "lean310", "websocket", "dockerize"]
platform: ["linux/amd64", "linux/arm64"]
fail-fast: false
steps:
Expand Down
8 changes: 3 additions & 5 deletions scripts/docker_build_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ else
DEV_TAG="${REPO_NAME}:${LATEST_TAG}-dev"
fi

BUILD_ARG="3.9-slim-bookworm"

case "${TARGET}" in
"dev")
DOCKER_TAGS="-t ${REPO_NAME}:${SHA}-dev -t ${REPO_NAME}:${REFSPEC}-dev -t ${DEV_TAG}"
Expand All @@ -82,11 +84,6 @@ case "${TARGET}" in
BUILD_TARGET="lean"
BUILD_ARG="3.10-slim-bookworm"
;;
"lean39")
DOCKER_TAGS="-t ${REPO_NAME}:${SHA}-py39 -t ${REPO_NAME}:${REFSPEC}-py39 -t ${REPO_NAME}:${LATEST_TAG}-py39"
BUILD_TARGET="lean"
BUILD_ARG="3.9-slim-bullseye"
;;
"websocket")
DOCKER_TAGS="-t ${REPO_NAME}:${SHA}-websocket -t ${REPO_NAME}:${REFSPEC}-websocket -t ${REPO_NAME}:${LATEST_TAG}-websocket"
BUILD_TARGET=""
Expand Down Expand Up @@ -138,6 +135,7 @@ docker buildx build \
--label "sha=${SHA}" \
--label "built_at=$(date)" \
--label "target=${TARGET}" \
--label "base=${PY_VER}" \
--label "build_actor=${GITHUB_ACTOR}" \
${BUILD_ARG:+--build-arg PY_VER="${BUILD_ARG}"} \
${DOCKER_CONTEXT}

0 comments on commit 49a6f9b

Please sign in to comment.