mirror of https://github.com/go-gitea/gitea.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
962 B
37 lines
962 B
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 |
|
permissions: |
|
contents: read |
|
|
|
container: |
|
if: needs.files-changed.outputs.docker == 'true' || needs.files-changed.outputs.actions == 'true' |
|
needs: files-changed |
|
runs-on: ubuntu-latest |
|
permissions: |
|
contents: read |
|
steps: |
|
- uses: actions/checkout@v6 |
|
- uses: docker/setup-buildx-action@v3 |
|
- name: Build regular container image |
|
uses: docker/build-push-action@v5 |
|
with: |
|
context: . |
|
push: false |
|
tags: gitea/gitea:linux-amd64 |
|
- name: Build rootless container image |
|
uses: docker/build-push-action@v5 |
|
with: |
|
context: . |
|
push: false |
|
file: Dockerfile.rootless |
|
tags: gitea/gitea:linux-amd64
|
|
|