File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ branches :
5+ - master
6+
7+ jobs :
8+ container_images :
9+ runs-on : ubuntu-24.04
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v4
13+
14+ - name : Install podman
15+ run : |
16+ sudo apt-get update
17+ sudo apt-get install podman
18+
19+
20+ - name : Build database
21+ run : podman build -f containerfiles/database -t cda-postgres
22+
23+ - name : Database artifact
24+ uses : actions/upload-artifact@v6
25+ with :
26+ name : db-image
27+ path : ~/.local/share/containers/${podman images \
28+ --format='{{.Names}} {{.Id}}' | \
29+ grep cda-postgres | \
30+ awk '{ print $2 }'}
31+ }
32+
33+
34+ - name : Build frontend builder
35+ run : podman build -f containerfiles/gateway -t cda-web-builder
36+
37+ - name : Frontend builder artifact
38+ uses : actions/upload-artifact@v6
39+ with :
40+ name : db-image
41+ path : ~/.local/share/containers/${podman images \
42+ --format='{{.Names}} {{.Id}}' | \
43+ grep cda-web-builder | \
44+ awk '{ print $2 }' \
45+ }
You can’t perform that action at this time.
0 commit comments