-
Notifications
You must be signed in to change notification settings - Fork 1
63 lines (53 loc) · 1.5 KB
/
ghcr.yaml
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
55
56
57
58
59
60
61
62
63
name: GHCR
on:
schedule:
- cron: '0 0 * * SUN'
workflow_dispatch:
env:
REGISTRY_USER: ${{ github.actor }}
REGISTRY_PASSWORD: ${{ secrets.GH_TOKEN }}
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
jobs:
ghcr:
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
# https://github.com/redhat-actions/podman-login
- name: Log in to ghcr.io
uses: redhat-actions/[email protected]
with:
username: ${{ env.REGISTRY_USER }}
password: ${{ env.REGISTRY_PASSWORD }}
registry: ${{ env.IMAGE_REGISTRY }}
- name: '[arch-dev] Build and push'
working-directory: ./arch-dev
run: |
make build
make push
- name: '[wireguard] Build and push'
working-directory: ./wireguard
run: |
make build
make push
- name: '[eh] Build and push'
working-directory: ./eh
run: |
make build
make push
- name: '[consider] Build and push'
working-directory: ./consider
run: |
make build
make push
- name: '[write-good] Build and push'
working-directory: ./write-good
run: |
make build
make push
- name: '[diffoscope] Build and push'
working-directory: ./diffoscope-arch
run: |
make build
make push