[WIP] ci: Add github build #13
Workflow file for this run
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: Update | |
permissions: | |
contents: read | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: >- | |
${{ github.event.inputs.head_ref || github.run_id }} | |
jobs: | |
update: | |
runs-on: ubuntu-24.04 | |
if: github.repository_owner == 'envoyproxy' | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- run: | | |
du -ch bazel-bin/debs/debs | |
gsutil sync envoy-apt-cache://debs debs/import | |
ls -alh debs/import | |
- run: | | |
. ./build-repository.sh | |
import_public_key | |
touch debs/excludes.txt | |
echo ${{ github.token }} > debs/token.txt | |
GNUPG_HOME="$(realpath ~/.gnupg)" | |
time bazel build "--sandbox_writable_path=${GNUPG_HOME}" --config=debs-ci //debs | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
- run: | | |
du -ch bazel-bin/debs/debs | |
# gsutil sync bazel-bin/debs/debs envoy-apt-cache://debs | |
if: ${{ github.event_name == 'pull_request' }} |