-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (45 loc) · 1.17 KB
/
docker.yaml
File metadata and controls
54 lines (45 loc) · 1.17 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
name: CI Workflow
on:
push:
branches: [master]
schedule:
- cron: '0 4 * * *'
workflow_dispatch: {}
permissions:
contents: read
packages: write
jobs:
docker-publish:
defaults:
run:
shell: bash
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
show-progress: false
- name: Log into registry
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: |
make \
docker-image_minimal \
docker-image_base \
docker-image_base-devel \
docker-image-test_latest \
docker-image-test_base \
docker-image-test_base-devel
- name: Docker Push
run: |
make \
docker-push_latest \
docker-push_base \
docker-push_base-devel
if: ${{ github.ref == 'refs/heads/master' }}