code.gitea.io/gitea@v1.21.7/.github/workflows/pull-docker-dryrun.yml (about) 1 name: docker-dryrun 2 3 on: 4 pull_request: 5 6 concurrency: 7 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} 8 cancel-in-progress: true 9 10 jobs: 11 files-changed: 12 uses: ./.github/workflows/files-changed.yml 13 14 regular: 15 if: needs.files-changed.outputs.docker == 'true' || needs.files-changed.outputs.actions == 'true' 16 needs: files-changed 17 runs-on: ubuntu-latest 18 steps: 19 - uses: docker/setup-buildx-action@v2 20 - uses: docker/build-push-action@v4 21 with: 22 push: false 23 tags: gitea/gitea:linux-amd64 24 25 rootless: 26 if: needs.files-changed.outputs.docker == 'true' || needs.files-changed.outputs.actions == 'true' 27 needs: files-changed 28 runs-on: ubuntu-latest 29 steps: 30 - uses: docker/setup-buildx-action@v2 31 - uses: docker/build-push-action@v4 32 with: 33 push: false 34 file: Dockerfile.rootless 35 tags: gitea/gitea:linux-amd64