DOC: update #30
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker image for Windows build | |
on: | |
push: | |
paths: | |
- "docker/opensuse-mingw" | |
- ".github/workflows/docker.yml" | |
jobs: | |
docker_publish: | |
name: Docker build image publish | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
openfoam_version: [v2206] | |
steps: | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
- name: Log in to the Container registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Push to GitHub Packages ${{matrix.openfoam_version}} | |
uses: docker/build-push-action@v1 | |
with: | |
registry: ghcr.io | |
tags: openfoam-${{matrix.openfoam_version}}-opensuse-mingw | |
dockerfile: docker/opensuse-mingw | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
build_args: OPENFOAM_BRANCH=OpenFOAM-${{matrix.openfoam_version}} |