From e9ce21b319e94acb42e28448dfae53c773af5538 Mon Sep 17 00:00:00 2001 From: Rahul <42219389+rahulpatidar0191@users.noreply.github.com> Date: Tue, 7 Feb 2023 10:56:14 -0600 Subject: [PATCH 1/2] add 3.8 and 3.9 versions back --- .github/workflows/docker_image.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/docker_image.yml b/.github/workflows/docker_image.yml index e25b803..dfd639e 100644 --- a/.github/workflows/docker_image.yml +++ b/.github/workflows/docker_image.yml @@ -31,6 +31,30 @@ jobs: - name: Set env run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + - name: Build image and push python 3.8 version to Docker Hub + uses: docker/build-push-action@v2 + with: + # relative path to the place where source code with Dockerfile is located + context: . + # Note: tags has to be all lower-case + tags: | + satel/python-base:${{env.RELEASE_VERSION}} + build-args: | + IMAGE_VERSION=python:3.8.13-slim + push: true + + - name: Build image and push python 3.9 version to Docker Hub + uses: docker/build-push-action@v2 + with: + # relative path to the place where source code with Dockerfile is located + context: . + # Note: tags has to be all lower-case + tags: | + satel/python-base:${{env.RELEASE_VERSION}} + build-args: | + IMAGE_VERSION=python:3.9.12-slim + push: true + - name: Build image and push python 3.10 version to Docker Hub uses: docker/build-push-action@v2 with: From 4e0ca9db232425a8da96656b97edf72efea1efda Mon Sep 17 00:00:00 2001 From: Rahul <42219389+rahulpatidar0191@users.noreply.github.com> Date: Tue, 7 Feb 2023 11:29:57 -0600 Subject: [PATCH 2/2] add versions for image --- .github/workflows/docker_image.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker_image.yml b/.github/workflows/docker_image.yml index dfd639e..1b63c76 100644 --- a/.github/workflows/docker_image.yml +++ b/.github/workflows/docker_image.yml @@ -38,7 +38,7 @@ jobs: context: . # Note: tags has to be all lower-case tags: | - satel/python-base:${{env.RELEASE_VERSION}} + satel/python-base:${{env.RELEASE_VERSION}}-python3.8 build-args: | IMAGE_VERSION=python:3.8.13-slim push: true @@ -50,7 +50,7 @@ jobs: context: . # Note: tags has to be all lower-case tags: | - satel/python-base:${{env.RELEASE_VERSION}} + satel/python-base:${{env.RELEASE_VERSION}}-python3.9 build-args: | IMAGE_VERSION=python:3.9.12-slim push: true @@ -62,7 +62,7 @@ jobs: context: . # Note: tags has to be all lower-case tags: | - satel/python-base:${{env.RELEASE_VERSION}} + satel/python-base:${{env.RELEASE_VERSION}}-python3.10 build-args: | IMAGE_VERSION=python:3.10.4-slim push: true