mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 02:10:40 +00:00
0ca1958e1a
- Upgrade node, the
[snap](7abe958f5b/snap/snapcraft.yaml (L47)
)
is excluded from this because [there is no Node 20 snap
yet](https://snapcraft.io/node).
- Add actions build cancellation based on
[this](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value).
---------
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
23 lines
570 B
YAML
23 lines
570 B
YAML
name: "Pull: Docker Dry Run"
|
|
|
|
on: [pull_request]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
docker_dryrun:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v3
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v2
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v4
|
|
with:
|
|
push: false
|
|
tags: gitea/gitea:linux-amd64
|
|
build-args: |
|
|
GOPROXY=https://goproxy.io
|