Skip to content

Commit

Permalink
Postifx docker tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Dec 23, 2024
1 parent b65e197 commit 791100f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy_images_a9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
docker_file: docker/Dockerfile_alma9_py38
platforms: ${{ github.event.inputs.platforms }}
tags: riga/law:a9-py38,riga/law:py38
tags: riga/law:a9-py38-rc,riga/law:py38-rc
push_image: ${{ github.event.inputs.push_image == 'true' }}

a9-py39:
Expand All @@ -67,7 +67,7 @@ jobs:
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
docker_file: docker/Dockerfile_alma9_py39
platforms: ${{ github.event.inputs.platforms }}
tags: riga/law:a9-py39,riga/law:py39
tags: riga/law:a9-py39-rc,riga/law:py39-rc
push_image: ${{ github.event.inputs.push_image == 'true' }}

a9-py310:
Expand All @@ -86,7 +86,7 @@ jobs:
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
docker_file: docker/Dockerfile_alma9_py310
platforms: ${{ github.event.inputs.platforms }}
tags: riga/law:a9-py310,riga/law:py310
tags: riga/law:a9-py310-rc,riga/law:py310-rc
push_image: ${{ github.event.inputs.push_image == 'true' }}

a9-py311:
Expand All @@ -105,7 +105,7 @@ jobs:
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
docker_file: docker/Dockerfile_alma9_py311
platforms: ${{ github.event.inputs.platforms }}
tags: riga/law:a9-py311,riga/law:a9-py3,riga/law:a9,riga/law:py311,riga/law:py3,riga/law:latest
tags: riga/law:a9-py311-rc,riga/law:a9-py3-rc,riga/law:a9-rc,riga/law:py311-rc,riga/law:py3-rc,riga/law:latest-rc
push_image: ${{ github.event.inputs.push_image == 'true' }}

a9-py312:
Expand All @@ -124,7 +124,7 @@ jobs:
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
docker_file: docker/Dockerfile_alma9_py312
platforms: ${{ github.event.inputs.platforms }}
tags: riga/law:a9-py312,riga/law:py312
tags: riga/law:a9-py312-rc,riga/law:py312-rc
push_image: ${{ github.event.inputs.push_image == 'true' }}

# NO GFAL SUPPORT YET
Expand Down Expand Up @@ -164,5 +164,5 @@ jobs:
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
docker_file: docker/Dockerfile_example
platforms: ${{ github.event.inputs.platforms }}
tags: riga/law:example
tags: riga/law:example-rc
push_image: true
10 changes: 5 additions & 5 deletions .github/workflows/deploy_images_c8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
docker_file: docker/Dockerfile_centos8_py38
platforms: ${{ github.event.inputs.platforms }}
tags: riga/law:c8-py38
tags: riga/law:c8-py38-rc
push_image: ${{ github.event.inputs.push_image == 'true' }}

c8-py39:
Expand All @@ -65,7 +65,7 @@ jobs:
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
docker_file: docker/Dockerfile_centos8_py39
platforms: ${{ github.event.inputs.platforms }}
tags: riga/law:c8-py39
tags: riga/law:c8-py39-rc
push_image: ${{ github.event.inputs.push_image == 'true' }}

c8-py310:
Expand All @@ -84,7 +84,7 @@ jobs:
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
docker_file: docker/Dockerfile_centos8_py310
platforms: ${{ github.event.inputs.platforms }}
tags: riga/law:c8-py310
tags: riga/law:c8-py310-rc
push_image: ${{ github.event.inputs.push_image == 'true' }}

c8-py311:
Expand All @@ -103,7 +103,7 @@ jobs:
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
docker_file: docker/Dockerfile_centos8_py311
platforms: ${{ github.event.inputs.platforms }}
tags: riga/law:c8-py311,riga/law:c8-py3,riga/law:c8
tags: riga/law:c8-py311-rc,riga/law:c8-py3-rc,riga/law:c8-rc
push_image: ${{ github.event.inputs.push_image == 'true' }}

c8-py312:
Expand All @@ -122,5 +122,5 @@ jobs:
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
docker_file: docker/Dockerfile_centos8_py312
platforms: ${{ github.event.inputs.platforms }}
tags: riga/law:c8-py312
tags: riga/law:c8-py312-rc
push_image: ${{ github.event.inputs.push_image == 'true' }}
14 changes: 7 additions & 7 deletions .github/workflows/lint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: docker pull riga/law:py38

- name: Lint 🔍
run: ./tests/docker.sh riga/law:py38 ./tests/linting.sh
run: ./tests/docker.sh riga/law:py312-rc ./tests/linting.sh

typecheck:
runs-on: ubuntu-latest
Expand All @@ -33,10 +33,10 @@ jobs:
persist-credentials: false

- name: Pull docker image 🐳
run: docker pull riga/law:py${{ matrix.python }}
run: docker pull riga/law:py${{ matrix.python }}-rc

- name: Typecheck 📋
run: ./tests/docker.sh riga/law:py${{ matrix.python }} ./tests/typecheck.sh
run: ./tests/docker.sh riga/law:py${{ matrix.python }}-rc ./tests/typecheck.sh

unittest:
runs-on: ubuntu-latest
Expand All @@ -52,10 +52,10 @@ jobs:
persist-credentials: false

- name: Pull docker image 🐳
run: docker pull riga/law:py${{ matrix.python }}
run: docker pull riga/law:py${{ matrix.python }}-rc

- name: Test 🎢
run: ./tests/docker.sh riga/law:py${{ matrix.python }} ./tests/unittest.sh
run: ./tests/docker.sh riga/law:py${{ matrix.python }}-rc ./tests/unittest.sh

pypi:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -91,10 +91,10 @@ jobs:
submodules: recursive

- name: Pull docker image 🐳
run: docker pull riga/law
run: docker pull riga/law:py312-rc

- name: Run coverage test 🎢
run: ./tests/docker.sh riga/law ./tests/coverage.sh
run: ./tests/docker.sh riga/law:py312-rc ./tests/coverage.sh

- name: Upload report 🔝
uses: codecov/codecov-action@v5
Expand Down

0 comments on commit 791100f

Please sign in to comment.