File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed
Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,38 @@ 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}}-python3.8
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}}-python3.9
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 :
3761 # relative path to the place where source code with Dockerfile is located
3862 context : .
3963 # Note: tags has to be all lower-case
4064 tags : |
41- satel/python-base:${{env.RELEASE_VERSION}}
65+ satel/python-base:${{env.RELEASE_VERSION}}-python3.10
4266 build-args : |
4367 IMAGE_VERSION=python:3.10.4-slim
4468 push : true
You can’t perform that action at this time.
0 commit comments