forked from geodynamics/aspect
-
Notifications
You must be signed in to change notification settings - Fork 3
41 lines (34 loc) · 1.04 KB
/
build_dealii_master.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: build-tester-base-image
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-docker:
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@v6
with:
context: ./contrib/docker/tester/
cache-from: type=registry,ref=ubuntu:20.04
cache-to: type=inline
push: true
tags: geodynamics/aspect-tester:focal-dealii-master