File tree Expand file tree Collapse file tree 3 files changed +83
-1
lines changed Expand file tree Collapse file tree 3 files changed +83
-1
lines changed Original file line number Diff line number Diff line change 1+ version : " 1.0 "
2+ global : {
3+ ci : {
4+ local : [
5+ " ^check(-.*)?$ " ,
6+ " ^build(-.*)?$ " ,
7+ " ^package(-.*)?$ " ,
8+ " ^test(-.*)?$ " ,
9+ ]
10+ registries : [
11+ ci .providers .aws .ecr .registry ,
12+ ]
13+ providers : {
14+ aws : {
15+ region : " eu-central-1 "
16+ ecr : registry : " 332405224602.dkr.ecr.eu-central-1.amazonaws.com "
17+ role : " arn:aws:iam::332405224602:role/ci "
18+ }
19+
20+ docker : credentials : {
21+ provider : " aws "
22+ path : " global/ci/docker "
23+ }
24+
25+ git : credentials : {
26+ provider : " aws "
27+ path : " global/ci/deploy "
28+ }
29+
30+ earthly : {
31+ credentials : {
32+ provider : " aws "
33+ path : " global/ci/earthly "
34+ }
35+ org : " Catalyst "
36+ satellite : " ci "
37+ version : " 0.8.15 "
38+ }
39+
40+ github : registry : " ghcr.io "
41+
42+ kcl : {
43+ install : true
44+ version : " v0.11.0 "
45+ }
46+ }
47+ secrets : [
48+ {
49+ name : " GITHUB_TOKEN "
50+ optional : true
51+ provider : " env "
52+ path : " GITHUB_TOKEN "
53+ },
54+ ]
55+ }
56+ repo : {
57+ defaultBranch : " main "
58+ name : " input-output-hk/catalyst-core "
59+ }
60+ }
Original file line number Diff line number Diff line change 9191 SAVE ARTIFACT /doc
9292
9393# Docker image built for distribution and use in production.
94- publish :
94+ package :
9595 FROM python:3.11-slim-bullseye
9696 ARG tag= "latest"
9797
@@ -165,3 +165,11 @@ integration-test:
165165 --service leader0
166166 RUN docker-compose run leader0 echo "<<<INTEGRATION TESTING GOES HERE>>>"
167167 END
168+
169+ docker :
170+ FROM +package
171+
172+ ARG container= 'voting-node'
173+ ARG tag= "latest"
174+
175+ SAVE IMAGE ${container }:${tag }
Original file line number Diff line number Diff line change 1+ version : " 1.0.0 "
2+ project : {
3+ name : " voting-node "
4+ release : {
5+ docker : {
6+ on : {
7+ tag : {}
8+ }
9+ config : {
10+ tag : _ @forge (name =" GIT_HASH_OR_TAG " )
11+ }
12+ }
13+ }
14+ }
You can’t perform that action at this time.
0 commit comments