Scope documentation CI and isolate delivery job resources
This commit is contained in:
@@ -9,5 +9,16 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
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 docker-build IMAGE_TAG=${{ gitea.sha }}
|
||||
|
||||
Reference in New Issue
Block a user