Skip to content

Commit 33c2143

Browse files
authored
Update codegen image (#6884)
* Update codegen image Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> * Update makefile Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com> --------- Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
1 parent 0d71fd0 commit 33c2143

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1313
- name: Generate code
1414
# NOTE: Keep this container image as same as defined in Makefile
15-
uses: docker://ghcr.io/pipe-cd/codegen@sha256:0a2f9805e50f5c6efb7771171ddf291251bf349c2e8627fbf59c3535eacbbee0 # v0.53.0-10-g64742f7
15+
uses: docker://ghcr.io/pipe-cd/codegen@sha256:8b17498a7cfb58fbaf403ec7cab01a740238aaee43d030e65a40abb710f9e68a # v0.56.0-30-g0d71fd0
1616
with:
1717
entrypoint: ./tool/codegen/codegen.sh
1818
args: /github/workspace

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,10 @@ update/copyright:
262262
# Generate commands
263263

264264
.PHONY: gen/code
265+
# NOTE: Keep this container image as same as defined in .github/workflows/gen.yml
266+
gen/code: CODEGEN_IMAGE ?= ghcr.io/pipe-cd/codegen@sha256:8b17498a7cfb58fbaf403ec7cab01a740238aaee43d030e65a40abb710f9e68a # v0.56.0-30-g0d71fd0
265267
gen/code:
266-
# NOTE: Keep this container image as same as defined in .github/workflows/gen.yml
267-
docker run --rm -v ${PWD}:/repo -it --entrypoint ./tool/codegen/codegen.sh ghcr.io/pipe-cd/codegen@sha256:0a2f9805e50f5c6efb7771171ddf291251bf349c2e8627fbf59c3535eacbbee0 /repo # v0.53.0-10-g64742f7
268+
docker run --rm -v ${PWD}:/repo -it --entrypoint ./tool/codegen/codegen.sh $(CODEGEN_IMAGE) /repo
268269

269270
.PHONY: gen/test-tls
270271
gen/test-tls:

0 commit comments

Comments
 (0)