2023-05-12 09:21:28 +08:00
|
|
|
name: docker-dryrun
|
|
|
|
|
2023-05-16 10:53:18 +08:00
|
|
|
on:
|
|
|
|
pull_request:
|
2023-05-12 09:21:28 +08:00
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
2023-05-25 09:33:31 +08:00
|
|
|
files-changed:
|
|
|
|
uses: ./.github/workflows/files-changed.yml
|
|
|
|
|
2023-05-12 09:21:28 +08:00
|
|
|
docker-dryrun:
|
2023-06-14 23:59:46 +08:00
|
|
|
if: needs.files-changed.outputs.backend == 'true' || needs.files-changed.outputs.frontend == 'true' || needs.files-changed.outputs.actions == 'true'
|
2023-05-25 09:33:31 +08:00
|
|
|
needs: files-changed
|
2023-05-12 09:21:28 +08:00
|
|
|
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
|