Add a new command to set a predefined runner register token and also add a set-token parameter for registration-token API #24641
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | |
| regular: | |
| 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@v3 | |
| - uses: docker/build-push-action@v5 | |
| 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@v3 | |
| - uses: docker/build-push-action@v5 | |
| with: | |
| push: false | |
| file: Dockerfile.rootless | |
| tags: gitea/gitea:linux-amd64 |