mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-05 09:49:37 +08:00
bfd3eb9dbc
Backport #25150 by @silverwind - Don't run DB tests for frontend-only changes - Build frontend as part of frontend step - Build everything when actions change Co-authored-by: silverwind <me@silverwind.io>
24 lines
622 B
YAML
24 lines
622 B
YAML
name: docker-dryrun
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
files-changed:
|
|
uses: ./.github/workflows/files-changed.yml
|
|
|
|
docker-dryrun:
|
|
if: needs.files-changed.outputs.backend == 'true' || needs.files-changed.outputs.frontend == 'true' || needs.files-changed.outputs.actions == 'true'
|
|
needs: files-changed
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: docker/setup-buildx-action@v2
|
|
- uses: docker/build-push-action@v4
|
|
with:
|
|
push: false
|
|
tags: gitea/gitea:linux-amd64
|