manual build #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 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: | |
pull: true | |
file: Dockerfile | |
context: . | |
platforms: linux/amd64 | |
push: true | |
tags: getyourguide/proxy:1.24.2-patch |