Skip to content

Update [Github] Update GHA Dependencies #42

Update [Github] Update GHA Dependencies

Update [Github] Update GHA Dependencies #42

name: Build Premerge Buildbot Container
permissions:
contents: read
on:
push:
branches:
- main
paths:
- .github/workflows/build-premerge-buildbot-container.yml
- 'premerge/buildbot/**'
pull_request:
paths:
- .github/workflows/build-premerge-buildbot-container.yml
- 'premerge/buildbot/**'
jobs:
build-premerge-buildbot-container:
if: github.repository_owner == 'llvm'
runs-on: ubuntu-24.04
steps:
- name: Checkout LLVM Zorg
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with:
sparse-checkout: premerge/buildbot
- name: Build Container
uses: llvm/llvm-project/.github/actions/build-container@2f6a630aae3da93a68a1fd4ea10b4b928aa19e8c
with:
container-name: premerge-buildbot
context: premerge/buildbot
push-premerge-buildbot-container:
if: github.event_name == 'push'
needs:
- build-premerge-buildbot-container
permissions:
packages: write
runs-on: ubuntu-24.04
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: llvm/llvm-project/.github/actions/push-container@2f6a630aae3da93a68a1fd4ea10b4b928aa19e8c
with:
token: ${{ secrets.GITHUB_TOKEN }}