-
-
Notifications
You must be signed in to change notification settings - Fork 12
47 lines (44 loc) · 1.05 KB
/
ci.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
42
43
44
45
46
47
name: Publish
on:
push:
branches:
- master
schedule:
- cron: '0 0 * * 1'
jobs:
build:
strategy:
fail-fast: false
matrix:
image: [
development-target,
circe-stable,
circe-unstable,
horus-stable,
horus-unstable,
odin-stable,
odin-unstable,
juno-stable,
juno-unstable,
loki-stable,
loki-unstable,
next-unstable,
stable,
unstable,
latest
]
name: Build ${{ matrix.image }}
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Clone
uses: actions/checkout@v4
- name: Build Docker Image
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
IMAGE="${{ matrix.image }}"
cd "$IMAGE" || exit 1
docker build -t ghcr.io/${{ github.repository_owner }}/docker:"$IMAGE" .
docker push ghcr.io/${{ github.repository_owner }}/docker:"$IMAGE"