2023-05-11 19:21:28 -06:00
|
|
|
name: docker-dryrun
|
|
|
|
|
2023-05-15 20:53:18 -06:00
|
|
|
on:
|
|
|
|
pull_request:
|
2023-05-11 19:21:28 -06:00
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
2023-05-24 19:33:31 -06:00
|
|
|
files-changed:
|
|
|
|
uses: ./.github/workflows/files-changed.yml
|
|
|
|
|
2023-06-18 20:53:20 -06:00
|
|
|
regular:
|
|
|
|
if: needs.files-changed.outputs.docker == 'true' || needs.files-changed.outputs.actions == 'true'
|
2023-05-24 19:33:31 -06:00
|
|
|
needs: files-changed
|
2023-05-11 19:21:28 -06:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-10-30 01:56:43 -06:00
|
|
|
- uses: docker/setup-buildx-action@v3
|
|
|
|
- uses: docker/build-push-action@v5
|
2023-05-11 19:21:28 -06:00
|
|
|
with:
|
|
|
|
push: false
|
|
|
|
tags: gitea/gitea:linux-amd64
|
2023-06-18 20:53:20 -06:00
|
|
|
|
|
|
|
rootless:
|
|
|
|
if: needs.files-changed.outputs.docker == 'true' || needs.files-changed.outputs.actions == 'true'
|
|
|
|
needs: files-changed
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-10-30 01:56:43 -06:00
|
|
|
- uses: docker/setup-buildx-action@v3
|
|
|
|
- uses: docker/build-push-action@v5
|
2023-06-18 20:53:20 -06:00
|
|
|
with:
|
|
|
|
push: false
|
|
|
|
file: Dockerfile.rootless
|
|
|
|
tags: gitea/gitea:linux-amd64
|