Skip to content

Commit

Permalink
manual build
Browse files Browse the repository at this point in the history
Signed-off-by: Fernando Cainelli <[email protected]>
  • Loading branch information
cainelli committed Dec 19, 2024
1 parent 9cc7f73 commit c58a046
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build Envoy
run: |
alias proxy-run='./common/scripts/run.sh env CC=clang CXX=clang++'
proxy-run bazel build --config=libc++ //:envoy
proxy-run cp bazel-bin/envoy out/envoy
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
Expand Down
10 changes: 1 addition & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
FROM gcr.io/istio-testing/build-tools-proxy:release-1.24-latest AS builder

WORKDIR /work/

COPY . /work/

RUN make build_envoy

FROM istio/proxyv2:1.24.2

COPY --from=builder /work/out/linux_amd64/envoy /usr/local/bin/
COPY ./out/envoy /usr/local/bin/

0 comments on commit c58a046

Please sign in to comment.