File tree Expand file tree Collapse file tree 7 files changed +60
-8
lines changed Expand file tree Collapse file tree 7 files changed +60
-8
lines changed Original file line number Diff line number Diff line change 33on :
44 push :
55 branches : [master]
6+ tags : ['**']
67 pull_request :
78
89permissions :
@@ -11,6 +12,6 @@ permissions:
1112 packages : write
1213jobs :
1314 ci :
14- uses : input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.1 .0
15+ uses : input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.2 .0
1516 with :
16- forge_version : 0.2 .0
17+ forge_version : 0.3 .0
Original file line number Diff line number Diff line change 4343
4444 RUN go test ./...
4545
46- release :
46+ github :
4747 FROM scratch
4848
4949 ARG version= "v0.0.0"
@@ -61,7 +61,7 @@ release:
6161
6262 SAVE ARTIFACT bin/hello hello
6363
64- publish :
64+ docker :
6565 FROM debian:bookworm-slim
6666 WORKDIR /workspace
6767
Original file line number Diff line number Diff line change @@ -23,4 +23,21 @@ project: {
2323 ]
2424 }
2525 }
26+ release : {
27+ docker : {
28+ on : {
29+ merge : {}
30+ tag : {}
31+ }
32+ }
33+ github : {
34+ on : tag : {}
35+ config : {
36+ token : {
37+ provider : " env "
38+ path : " GITHUB_TOKEN "
39+ }
40+ }
41+ }
42+ }
2643}
Original file line number Diff line number Diff line change 3232
3333 SAVE ARTIFACT ./target/${TARGET }/release/hello hello
3434
35- release :
35+ github :
3636 FROM scratch
3737
3838 ARG TARGETOS
@@ -47,7 +47,7 @@ release:
4747
4848 SAVE ARTIFACT bin/hello hello
4949
50- publish :
50+ docker :
5151 FROM debian:bookworm-slim
5252 WORKDIR /workspace
5353
Original file line number Diff line number Diff line change @@ -20,4 +20,21 @@ project: {
2020 privileged : true
2121 }
2222 }
23+ release : {
24+ docker : {
25+ on : {
26+ merge : {}
27+ tag : {}
28+ }
29+ }
30+ github : {
31+ on : tag : {}
32+ config : {
33+ token : {
34+ provider : " env "
35+ path : " GITHUB_TOKEN "
36+ }
37+ }
38+ }
39+ }
2340}
Original file line number Diff line number Diff line change 4545 RUN uv sync --frozen --extra dev
4646 RUN uv run pytest .
4747
48- publish :
48+ docker :
4949 FROM python:3.12-slim
5050
5151 ARG container= hello
@@ -60,7 +60,7 @@ publish:
6060 ENTRYPOINT ["hello" ]
6161 SAVE IMAGE ${container }:${tag }
6262
63- release :
63+ github :
6464 FROM scratch
6565
6666 COPY +build/dist dist
Original file line number Diff line number Diff line change 11version : " 1.0.0 "
22project : {
33 name : " hello "
4+ release : {
5+ docker : {
6+ on : {
7+ merge : {}
8+ tag : {}
9+ }
10+ }
11+ github : {
12+ on : tag : {}
13+ config : {
14+ token : {
15+ provider : " env "
16+ path : " GITHUB_TOKEN "
17+ }
18+ }
19+ }
20+ }
421}
You can’t perform that action at this time.
0 commit comments