Skip to content

Commit

Permalink
Add a9 py38-11 images.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Nov 5, 2023
1 parent 465b723 commit 6f7ead7
Show file tree
Hide file tree
Showing 8 changed files with 502 additions and 54 deletions.
122 changes: 121 additions & 1 deletion .github/workflows/deploy_images_a9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
required: false
default: 'false'
specific_job:
description: Run a specific job? (a9-py37)
description: Run a specific job? (a9-py37|a9-py38|a9-py39|a9-py310|a9-py311)
required: false
default: ''

Expand Down Expand Up @@ -42,3 +42,123 @@ jobs:
platforms: linux/amd64,linux/arm64
push: ${{ github.event.inputs.build_only != 'true' }}
tags: riga/law:a9-py37

a9-py38:
if: ${{ github.event.inputs.specific_job == '' || contains(github.event.inputs.specific_job, 'a9-py38') }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up QEMU 🌈
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx ✨
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub 🎪
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and deploy image 🐳
uses: docker/build-push-action@v5
with:
context: docker
file: docker/Dockerfile_alma9_py38
platforms: linux/amd64,linux/arm64
push: ${{ github.event.inputs.build_only != 'true' }}
tags: riga/law:a9-py38

a9-py39:
if: ${{ github.event.inputs.specific_job == '' || contains(github.event.inputs.specific_job, 'a9-py39') }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up QEMU 🌈
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx ✨
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub 🎪
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and deploy image 🐳
uses: docker/build-push-action@v5
with:
context: docker
file: docker/Dockerfile_alma9_py39
platforms: linux/amd64,linux/arm64
push: ${{ github.event.inputs.build_only != 'true' }}
tags: riga/law:a9-py39

a9-py310:
if: ${{ github.event.inputs.specific_job == '' || contains(github.event.inputs.specific_job, 'a9-py310') }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up QEMU 🌈
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx ✨
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub 🎪
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and deploy image 🐳
uses: docker/build-push-action@v5
with:
context: docker
file: docker/Dockerfile_alma9_py310
platforms: linux/amd64,linux/arm64
push: ${{ github.event.inputs.build_only != 'true' }}
tags: riga/law:a9-py310

a9-py311:
if: ${{ github.event.inputs.specific_job == '' || contains(github.event.inputs.specific_job, 'a9-py311') }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up QEMU 🌈
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx ✨
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub 🎪
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and deploy image 🐳
uses: docker/build-push-action@v5
with:
context: docker
file: docker/Dockerfile_alma9_py311
platforms: linux/amd64,linux/arm64
push: ${{ github.event.inputs.build_only != 'true' }}
tags: riga/law:a9-py311
44 changes: 22 additions & 22 deletions .github/workflows/deploy_images_c7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

Expand All @@ -60,24 +60,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up QEMU 🌈
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx ✨
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub 🎪
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and deploy image 🐳
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: docker
file: docker/Dockerfile_centos7_py37
Expand All @@ -90,24 +90,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up QEMU 🌈
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx ✨
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub 🎪
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and deploy image 🐳
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: docker
file: docker/Dockerfile_centos7_py38
Expand All @@ -120,24 +120,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up QEMU 🌈
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx ✨
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub 🎪
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and deploy image 🐳
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: docker
file: docker/Dockerfile_centos7_py39
Expand All @@ -150,24 +150,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up QEMU 🌈
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx ✨
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub 🎪
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and deploy image 🐳
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: docker
file: docker/Dockerfile_centos7_py310
Expand Down
Loading

0 comments on commit 6f7ead7

Please sign in to comment.