File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 11# This workflow will build a golang project
22# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
33
4- name : Contour plugin CI
4+ name : Contour plugin Release
55on :
66 push :
77 tags :
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ WORKDIR /app
77
88COPY . .
99
10- RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -ldflags "-s -w" -o rollouts-plugin-trafficrouter-contour-linux-${TARGETARCH} .
10+ RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -ldflags "-s -w" -o rollouts-plugin-trafficrouter-contour .
1111
1212FROM alpine:3.19.0
1313
1414ARG TARGETARCH
1515
16- COPY --from=builder /app/rollouts-plugin-trafficrouter-contour-linux-${TARGETARCH} /bin/
16+ COPY --from=builder /app/rollouts-plugin-trafficrouter-contour /bin/
Original file line number Diff line number Diff line change 9999
1001006. Enjoy It.
101101
102+ # # Use it by Docker image
103+
104+ From v0.2.3, you can use this plugin from a init container, the plugin artifact location in the image is :
105+
106+ ` ` `
107+ /bin/rollouts-plugin-trafficrouter-contour
108+ ` ` `
109+
110+ The docker image with its artifact both support amd64 and arm64.
111+
102112# # Contributing
103113
104114Thanks for taking the time to join our community and start contributing!
You can’t perform that action at this time.
0 commit comments