Skip to content

Commit

Permalink
Merge pull request #2 from gerlero/org
Browse files Browse the repository at this point in the history
Add extra openfoam.org versions
  • Loading branch information
gerlero authored Aug 7, 2024
2 parents a84ba61 + cb4803e commit e85ac6d
Show file tree
Hide file tree
Showing 2 changed files with 150 additions and 0 deletions.
144 changes: 144 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -445,3 +445,147 @@ jobs:
target: org
build-args: |
OPENFOAM_VERSION=11
org-10:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: vars.DOCKERHUB_REPOSITORY
continue-on-error: ${{ github.event_name == 'pull_request' }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
tags: |
${{ vars.DOCKERHUB_REPOSITORY }}:10
cache-from: type=gha
cache-to: type=gha,mode=max
push: ${{ github.event_name == 'push' }}
target: org
build-args: |
OPENFOAM_VERSION=10
UBUNTU_VERSION=22.04
org-9:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: vars.DOCKERHUB_REPOSITORY
continue-on-error: ${{ github.event_name == 'pull_request' }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
tags: |
${{ vars.DOCKERHUB_REPOSITORY }}:9
cache-from: type=gha
cache-to: type=gha,mode=max
push: ${{ github.event_name == 'push' }}
target: org
build-args: |
OPENFOAM_VERSION=9
UBUNTU_VERSION=22.04
org-8:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: vars.DOCKERHUB_REPOSITORY
continue-on-error: ${{ github.event_name == 'pull_request' }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
tags: |
${{ vars.DOCKERHUB_REPOSITORY }}:8
cache-from: type=gha
cache-to: type=gha,mode=max
push: ${{ github.event_name == 'push' }}
target: org
build-args: |
OPENFOAM_VERSION=8
UBUNTU_VERSION=20.04
org-7:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: vars.DOCKERHUB_REPOSITORY
continue-on-error: ${{ github.event_name == 'pull_request' }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
tags: |
${{ vars.DOCKERHUB_REPOSITORY }}:7
cache-from: type=gha
cache-to: type=gha,mode=max
push: ${{ github.event_name == 'push' }}
target: org
build-args: |
OPENFOAM_VERSION=7
UBUNTU_VERSION=20.04
org-6:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: vars.DOCKERHUB_REPOSITORY
continue-on-error: ${{ github.event_name == 'pull_request' }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
tags: |
${{ vars.DOCKERHUB_REPOSITORY }}:6
cache-from: type=gha
cache-to: type=gha,mode=max
push: ${{ github.event_name == 'push' }}
target: org
build-args: |
OPENFOAM_VERSION=6
UBUNTU_VERSION=18.04
org-5:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: vars.DOCKERHUB_REPOSITORY
continue-on-error: ${{ github.event_name == 'pull_request' }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
tags: |
${{ vars.DOCKERHUB_REPOSITORY }}:5
cache-from: type=gha
cache-to: type=gha,mode=max
push: ${{ github.event_name == 'push' }}
target: org
build-args: |
OPENFOAM_VERSION=5
UBUNTU_VERSION=18.04
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,9 @@

- `org`, `12`
- `11`
- `10` (arm64 only)
- `9` (arm64 only)
- `8` (arm64 only)
- `7` (arm64 only)
- `6` (arm64 only)
- `5` (arm64 only)

0 comments on commit e85ac6d

Please sign in to comment.