Skip to content

Commit 6a74b1e

Browse files
committed
chore: updates CI to latest version
1 parent 045d466 commit 6a74b1e

File tree

7 files changed

+60
-8
lines changed

7 files changed

+60
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: CI
33
on:
44
push:
55
branches: [master]
6+
tags: ['**']
67
pull_request:
78

89
permissions:
@@ -11,6 +12,6 @@ permissions:
1112
packages: write
1213
jobs:
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

examples/go/Earthfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ test:
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

examples/go/blueprint.cue

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

examples/rust/Earthfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ build:
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

examples/rust/blueprint.cue

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

users/jmgilman/Earthfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ test:
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

users/jmgilman/blueprint.cue

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
version: "1.0.0"
22
project: {
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
}

0 commit comments

Comments
 (0)