Use dockerhub for e2e and demo images (#10851)
This commit is contained in:
parent
42627fb1bd
commit
a9eb4dba40
19 changed files with 26 additions and 19 deletions
8
.github/workflows/images.yaml
vendored
8
.github/workflows/images.yaml
vendored
|
@ -72,6 +72,7 @@ jobs:
|
||||||
uses: ./.github/workflows/zz-tmpl-images.yaml
|
uses: ./.github/workflows/zz-tmpl-images.yaml
|
||||||
with:
|
with:
|
||||||
name: cfssl
|
name: cfssl
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
custom-error-pages:
|
custom-error-pages:
|
||||||
needs: changes
|
needs: changes
|
||||||
|
@ -80,6 +81,8 @@ jobs:
|
||||||
uses: ./.github/workflows/zz-tmpl-images.yaml
|
uses: ./.github/workflows/zz-tmpl-images.yaml
|
||||||
with:
|
with:
|
||||||
name: custom-error-pages
|
name: custom-error-pages
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
|
|
||||||
e2e-test-echo:
|
e2e-test-echo:
|
||||||
needs: changes
|
needs: changes
|
||||||
|
@ -88,6 +91,7 @@ jobs:
|
||||||
uses: ./.github/workflows/zz-tmpl-images.yaml
|
uses: ./.github/workflows/zz-tmpl-images.yaml
|
||||||
with:
|
with:
|
||||||
name: e2e-test-echo
|
name: e2e-test-echo
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
ext-auth-example-authsvc:
|
ext-auth-example-authsvc:
|
||||||
needs: changes
|
needs: changes
|
||||||
|
@ -96,6 +100,7 @@ jobs:
|
||||||
uses: ./.github/workflows/zz-tmpl-images.yaml
|
uses: ./.github/workflows/zz-tmpl-images.yaml
|
||||||
with:
|
with:
|
||||||
name: ext-auth-example-authsvc
|
name: ext-auth-example-authsvc
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
fastcgi-helloserver:
|
fastcgi-helloserver:
|
||||||
needs: changes
|
needs: changes
|
||||||
|
@ -104,6 +109,7 @@ jobs:
|
||||||
uses: ./.github/workflows/zz-tmpl-images.yaml
|
uses: ./.github/workflows/zz-tmpl-images.yaml
|
||||||
with:
|
with:
|
||||||
name: fastcgi-helloserver
|
name: fastcgi-helloserver
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
go-grpc-greeter-server:
|
go-grpc-greeter-server:
|
||||||
needs: changes
|
needs: changes
|
||||||
|
@ -112,6 +118,7 @@ jobs:
|
||||||
uses: ./.github/workflows/zz-tmpl-images.yaml
|
uses: ./.github/workflows/zz-tmpl-images.yaml
|
||||||
with:
|
with:
|
||||||
name: go-grpc-greeter-server
|
name: go-grpc-greeter-server
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
httpbun:
|
httpbun:
|
||||||
needs: changes
|
needs: changes
|
||||||
|
@ -120,6 +127,7 @@ jobs:
|
||||||
uses: ./.github/workflows/zz-tmpl-images.yaml
|
uses: ./.github/workflows/zz-tmpl-images.yaml
|
||||||
with:
|
with:
|
||||||
name: httpbun
|
name: httpbun
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
kube-webhook-certgen:
|
kube-webhook-certgen:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
v0.0.2
|
v0.0.3
|
|
@ -23,4 +23,4 @@ RUN apk update \
|
||||||
|
|
||||||
EXPOSE 8888
|
EXPOSE 8888
|
||||||
|
|
||||||
CMD ["cfssl"]
|
CMD ["cfssl"]
|
|
@ -1 +1 @@
|
||||||
v0.0.2
|
v0.0.3
|
|
@ -35,4 +35,4 @@ COPY --from=builder /go/src/k8s.io/ingress-nginx/images/custom-error-pages/www /
|
||||||
COPY --from=builder /go/src/k8s.io/ingress-nginx/images/custom-error-pages/etc /etc
|
COPY --from=builder /go/src/k8s.io/ingress-nginx/images/custom-error-pages/etc /etc
|
||||||
USER nonroot:nonroot
|
USER nonroot:nonroot
|
||||||
|
|
||||||
CMD ["/nginx-errors"]
|
CMD ["/nginx-errors"]
|
|
@ -1 +1 @@
|
||||||
v0.0.2
|
v0.0.3
|
|
@ -17,4 +17,4 @@ RUN wget -O /tmp/luarocks.tgz \
|
||||||
|
|
||||||
RUN luarocks install lua-resty-template
|
RUN luarocks install lua-resty-template
|
||||||
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
@ -1 +1 @@
|
||||||
v0.0.2
|
v0.0.3
|
|
@ -16,4 +16,4 @@ steps:
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
gcloud auth configure-docker \
|
gcloud auth configure-docker \
|
||||||
&& cd images/ && make NAME=ext-auth-example-authsvc push
|
&& cd images/ && make NAME=ext-auth-example-authsvc push
|
|
@ -7,4 +7,4 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o authsvc authsvc.go
|
||||||
FROM gcr.io/distroless/base-debian11
|
FROM gcr.io/distroless/base-debian11
|
||||||
COPY --from=builder /authsvc/authsvc /
|
COPY --from=builder /authsvc/authsvc /
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
ENTRYPOINT ["/authsvc"]
|
ENTRYPOINT ["/authsvc"]
|
|
@ -1 +1 @@
|
||||||
v0.0.2
|
v0.0.3
|
|
@ -14,5 +14,4 @@ steps:
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
gcloud auth configure-docker \
|
gcloud auth configure-docker \
|
||||||
&& cd images/ && make NAME=fastcgi-helloserver push
|
&& cd images/ && make NAME=fastcgi-helloserver push
|
||||||
|
|
|
@ -29,4 +29,4 @@ FROM gcr.io/distroless/static:nonroot
|
||||||
COPY --from=builder /go/src/k8s.io/ingress-nginx/images/fastcgi/fastcgi-helloserver /
|
COPY --from=builder /go/src/k8s.io/ingress-nginx/images/fastcgi/fastcgi-helloserver /
|
||||||
USER nonroot:nonroot
|
USER nonroot:nonroot
|
||||||
|
|
||||||
CMD ["/fastcgi-helloserver"]
|
CMD ["/fastcgi-helloserver"]
|
|
@ -1 +1 @@
|
||||||
v0.0.2
|
v0.0.3
|
|
@ -16,4 +16,4 @@ steps:
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
gcloud auth configure-docker \
|
gcloud auth configure-docker \
|
||||||
&& cd images/ && make NAME=go-grpc-greeter-server push
|
&& cd images/ && make NAME=go-grpc-greeter-server push
|
|
@ -13,4 +13,4 @@ COPY --from=build /greeter-server /
|
||||||
|
|
||||||
EXPOSE 50051
|
EXPOSE 50051
|
||||||
|
|
||||||
CMD ["/greeter-server"]
|
CMD ["/greeter-server"]
|
|
@ -1 +1 @@
|
||||||
v0.0.2
|
v0.0.3
|
|
@ -16,4 +16,4 @@ steps:
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
gcloud auth configure-docker \
|
gcloud auth configure-docker \
|
||||||
&& cd images/ && make NAME=httpbun push
|
&& cd images/ && make NAME=httpbun push
|
|
@ -31,4 +31,4 @@ FROM scratch
|
||||||
COPY --from=builder /go/httpbun/bin/httpbun httpbun
|
COPY --from=builder /go/httpbun/bin/httpbun httpbun
|
||||||
ENV HTTPBUN_BIND=0.0.0.0:80
|
ENV HTTPBUN_BIND=0.0.0.0:80
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENTRYPOINT ["/httpbun"]
|
ENTRYPOINT ["/httpbun"]
|
Loading…
Reference in a new issue