Skip to content

Align update of nextSIM-DG and XIOS calendars #207

Align update of nextSIM-DG and XIOS calendars

Align update of nextSIM-DG and XIOS calendars #207

Workflow file for this run

name: Periodic Docker build
on:
# Build the Docker container whenever commits are pushed to an open PR that changes one of the files listed
pull_request:
paths:
- .github/workflows/docker.yml
- Dockerfiles/Dockerfile.devenv
- Dockerfiles/install-xios.sh
- Dockerfiles/spack_devenv.yaml
# Build the Docker container at 00:00 on the first day of every 3 months
schedule:
- cron: '0 0 1 */3 *'
jobs:
docker:
name: Build Docker container
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v3
- name: Log into GitHub Container Repository
uses: docker/#-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
logout: true
- name: Build container and push to ghcr
uses: docker/build-push-action@v5
with:
push: true
file: Dockerfiles/Dockerfile.devenv
tags: ghcr.io/nextsimhub/nextsimdg-dev-env:latest