Skip to content

Commit

Permalink
add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhei committed Jun 8, 2024
1 parent b73acc4 commit 5a14b7e
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/build_dealii_master_clang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: build-dealii-master-clang

on:
workflow_dispatch:
schedule:
# * is a special character in YAML so you have to quote this string
# trigger at 1:30 am every day
- cron: '30 1 * * *'

concurrency:
group: build-tester-base-image

permissions:
contents: read
packages: write

jobs:
build-clang-master:
runs-on: ubuntu-latest
if: github.repository == 'geodynamics/aspect'
steps:
- name: Checkout code
uses: actions/checkout@v4

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

- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_LOGIN }}

- name: Build and push Docker image for main
uses: docker/build-push-action@v5
with:
context: ./contrib/docker/tester-clang
cache-from: type=registry,ref=ubuntu:24.04
cache-to: type=inline
push: true
tags: geodynamics/aspect-tester:noble-dealii-master-clang

0 comments on commit 5a14b7e

Please sign in to comment.