Skip to content

Merge branch 'main' into JDBetteridge/refactor_curvefield #92

Merge branch 'main' into JDBetteridge/refactor_curvefield

Merge branch 'main' into JDBetteridge/refactor_curvefield #92

Workflow file for this run

# .github/workflows/app.yaml
name: Docker
on:
schedule:
- cron: '30 10 7,14,21,28 * *'
workflow_dispatch:
push:
paths:
- Dockerfile
jobs:
docker:
runs-on: ubuntu-latest
timeout-minutes: 480
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Login to Docker Hub
if: github.repository == 'NGSolve/ngsPETSc'
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build Docker image
run: |
docker build -t ngspetsc:latest .
- name: Push Docker image
if: github.repository == 'NGSolve/ngsPETSc'
run: |
docker tag ngspetsc:latest urzerbinati/ngspetsc:latest
docker push urzerbinati/ngspetsc:latest