Skip to content

Commit e9ce21b

Browse files
add 3.8 and 3.9 versions back
1 parent 0e3dc61 commit e9ce21b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/docker_image.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,30 @@ jobs:
3131
- name: Set env
3232
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
3333

34+
- name: Build image and push python 3.8 version to Docker Hub
35+
uses: docker/build-push-action@v2
36+
with:
37+
# relative path to the place where source code with Dockerfile is located
38+
context: .
39+
# Note: tags has to be all lower-case
40+
tags: |
41+
satel/python-base:${{env.RELEASE_VERSION}}
42+
build-args: |
43+
IMAGE_VERSION=python:3.8.13-slim
44+
push: true
45+
46+
- name: Build image and push python 3.9 version to Docker Hub
47+
uses: docker/build-push-action@v2
48+
with:
49+
# relative path to the place where source code with Dockerfile is located
50+
context: .
51+
# Note: tags has to be all lower-case
52+
tags: |
53+
satel/python-base:${{env.RELEASE_VERSION}}
54+
build-args: |
55+
IMAGE_VERSION=python:3.9.12-slim
56+
push: true
57+
3458
- name: Build image and push python 3.10 version to Docker Hub
3559
uses: docker/build-push-action@v2
3660
with:

0 commit comments

Comments
 (0)