Files
log-guardian/.gitea/workflows/build-image.yml
T

30 lines
698 B
YAML

name: build-image
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
docker:
runs-on: butler-ci
steps:
- uses: actions/checkout@v4
- name: Select relevant delivery work
id: delivery
env:
DELIVERY_EVENT: ${{ github.event_name }}
DELIVERY_REF: ${{ github.ref }}
DELIVERY_SHA: ${{ github.sha }}
DELIVERY_BASE: ${{ github.event.pull_request.base.sha || github.event.before }}
run: |
cd .
bash scripts/ci-select.sh
- name: Build image
if: ${{ steps.delivery.outputs.run == 'true' }}
run: |
make ci-fast IMAGE_TAG=${{ gitea.sha }}