-
Notifications
You must be signed in to change notification settings - Fork 35
102 lines (90 loc) · 2.75 KB
/
images.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
name: Build docker images
on:
workflow_dispatch:
schedule:
- cron: '6 9 * * SUN'
jobs:
deb11-build-image:
name: Build deb11 images for CI
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push Bullseye build image
uses: docker/build-push-action@v5
with:
context: .
file: ci/bullseye-build.Dockerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/yeti-web/build-image:bullseye
deb12-build-image:
name: Build deb12 images for CI
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push Bookworm build image
uses: docker/build-push-action@v5
with:
context: .
file: ci/bookworm-build.Dockerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/yeti-web/build-image:bookworm
postgres-13-build-image:
name: Build Postgresql 13 images for CI
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push db image
uses: docker/build-push-action@v5
with:
context: .
file: ci/pg13.Dockerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/yeti-web/pgsql:13
postgres-16-build-image:
name: Build Postgresql 16 images for CI
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push db image
uses: docker/build-push-action@v5
with:
context: .
file: ci/pg16.Dockerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/yeti-web/pgsql:16