-
Notifications
You must be signed in to change notification settings - Fork 0
73 lines (48 loc) · 2 KB
/
Container.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
name: Container
on:
push:
env:
REGISTRY_USER: unike267
REGISTRY_PASSWORD: ${{ github.token }}
IMAGE_REGISTRY: ghcr.io/unike267
permissions: write-all
jobs:
impl_container:
runs-on: ubuntu-latest
steps:
- name: '🧰 Checkout'
uses: actions/checkout@v4
- name: '⛴️ Build container'
run: podman build -t ghcr.io/unike267/containers/impl-arty - < .github/impl.containerfile
- name: '🔑 Login to ghcr.io'
run: echo $REGISTRY_PASSWORD | podman login $IMAGE_REGISTRY -u $REGISTRY_USER --password-stdin
- name: '🛰️ Push image to ghcr.io'
run: podman push ghcr.io/unike267/containers/impl-arty
- name: '🔐 Logout of ghcr.io'
run: podman logout $IMAGE_REGISTRY
latex_container:
runs-on: ubuntu-latest
steps:
- name: '🧰 Checkout'
uses: actions/checkout@v4
- name: '⛴️ Build container'
run: podman build -t ghcr.io/unike267/containers/latex-pygments - < .github/tex.containerfile
- name: '🔑 Login to ghcr.io'
run: echo $REGISTRY_PASSWORD | podman login $IMAGE_REGISTRY -u $REGISTRY_USER --password-stdin
- name: '🛰️ Push image to ghcr.io'
run: podman push ghcr.io/unike267/containers/latex-pygments
- name: '🔐 Logout of ghcr.io'
run: podman logout $IMAGE_REGISTRY
urv-sw-tool-spec-def_container:
runs-on: ubuntu-latest
steps:
- name: '🧰 Checkout'
uses: actions/checkout@v4
- name: '⛴️ Build container'
run: podman build -t ghcr.io/unike267/containers/urv-sw-tool-spec-def - < .github/urv-toolchain-spec_def.containerfile
- name: '🔑 Login to ghcr.io'
run: echo $REGISTRY_PASSWORD | podman login $IMAGE_REGISTRY -u $REGISTRY_USER --password-stdin
- name: '🛰️ Push image to ghcr.io'
run: podman push ghcr.io/unike267/containers/urv-sw-tool-spec-def
- name: '🔐 Logout of ghcr.io'
run: podman logout $IMAGE_REGISTRY