aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/pull-docker-dryrun.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/pull-docker-dryrun.yml')
-rw-r--r--.github/workflows/pull-docker-dryrun.yml16
1 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/pull-docker-dryrun.yml b/.github/workflows/pull-docker-dryrun.yml
index 916de6b27d..61f1fd5632 100644
--- a/.github/workflows/pull-docker-dryrun.yml
+++ b/.github/workflows/pull-docker-dryrun.yml
@@ -11,8 +11,8 @@ 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'
+ regular:
+ if: needs.files-changed.outputs.docker == 'true' || needs.files-changed.outputs.actions == 'true'
needs: files-changed
runs-on: ubuntu-latest
steps:
@@ -21,3 +21,15 @@ jobs:
with:
push: false
tags: gitea/gitea:linux-amd64
+
+ rootless:
+ if: needs.files-changed.outputs.docker == '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
+ file: Dockerfile.rootless
+ tags: gitea/gitea:linux-amd64