Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit 63b8d28

Browse files
committed
test
Signed-off-by: Takeshi Yoneda <[email protected]>
1 parent cc3032f commit 63b8d28

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/push-wasm-images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: push-wasm-images
22
on:
33
push:
44
branches:
5-
- main
5+
- fixpushimage
66
env:
77
TINYGO_VERSION: 0.32.0
88

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,13 @@ check:
6767
# and push to ghcr.io/tetratelabs/proxy-wasm-go-sdk-examples.
6868
# See https://github.com/solo-io/wasm/blob/master/spec/spec-compat.md for details.
6969
# Only-used in github workflow on the main branch, and not for developers.
70+
repository := ghcr.io/tetratelabs/proxy-wasm-go-sdk-examples
71+
7072
.PHONY: wasm_image.build_push
7173
wasm_image.build_push:
7274
@for f in `find ./examples -type f -name "main.go"`; do \
7375
name=`echo $$f | sed -e 's/\\//-/g' | sed -e 's/\.-examples-//g' -e 's/\-main\.go//g'` ; \
74-
ref=ghcr.io/tetratelabs/proxy-wasm-go-sdk-examples:$$name; \
76+
ref=${repository}:$$name; \
7577
docker build -t $$ref . -f examples/wasm-image.Dockerfile --build-arg WASM_BINARY_PATH=$$(dirname $$f)/main.wasm; \
7678
docker push $$ref; \
7779
done
@@ -85,7 +87,7 @@ wasm_image.build_push:
8587
wasm_image.build_push_oci:
8688
@for f in `find ./examples -type f -name "main.go"`; do \
8789
name=`echo $$f | sed -e 's/\\//-/g' | sed -e 's/\.-examples-//g' -e 's/\-main\.go//g'` ; \
88-
ref=ghcr.io/tetratelabs/proxy-wasm-go-sdk-examples:$$name-oci; \
90+
ref=${repository}:$$name-oci; \
8991
buildah bud -f examples/wasm-image.Dockerfile --build-arg WASM_BINARY_PATH=$$(dirname $$f)/main.wasm -t $$ref .; \
9092
buildah push $$ref; \
9193
done

0 commit comments

Comments
 (0)