Skip to content

Commit

Permalink
build istio proxy
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 53fe6df commit ab46f50
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: build
on:
push:
{}
# branches:
# - release-1.24

concurrency: ${{ github.ref }}
permissions:
contents: read
id-token: write

jobs:
build:
runs-on: [gyg-gha-runner-32x128]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
pull: true
file: Dockerfile
context: .
platforms: linux/amd64
push: true
tags: getyourguide/proxy:1.24.2-patch
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
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/bazel-bin/envoy /usr/local/bin/

0 comments on commit ab46f50

Please sign in to comment.