diff options
author | techknowlogick <techknowlogick@gitea.io> | 2023-05-01 16:39:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 16:39:36 -0400 |
commit | e8887de090d7205a5d7d37175ce29d782a7d71f0 (patch) | |
tree | 39dddcaa2fcd81a96e986ee340128b71aedc74a9 | |
parent | 2b241ac9148b17da3a5784408b8306d39848e765 (diff) | |
download | gitea-e8887de090d7205a5d7d37175ce29d782a7d71f0.tar.gz gitea-e8887de090d7205a5d7d37175ce29d782a7d71f0.zip |
replace PR docker dry run in drone with Actions (#24475)
As before with past PRs to switch Drone pipelines to use (GitHub)
Actions.
---------
Co-authored-by: silverwind <me@silverwind.io>
-rw-r--r-- | .drone.yml | 37 | ||||
-rw-r--r-- | .github/workflows/pull-docker_dryrun.yml | 19 |
2 files changed, 19 insertions, 37 deletions
diff --git a/.drone.yml b/.drone.yml index eb0298aebd..459536621b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1309,43 +1309,6 @@ steps: --- kind: pipeline type: docker -name: docker-linux-arm64-dry-run - -platform: - os: linux - arch: arm64 - -depends_on: - - compliance - -trigger: - event: - - pull_request - paths: - exclude: - - "docs/**" - -steps: - - name: dryrun - image: plugins/docker:latest - pull: always - settings: - dry_run: true - repo: gitea/gitea - tags: linux-arm64 - build_args: - - GOPROXY=https://goproxy.io - environment: - PLUGIN_MIRROR: - from_secret: plugin_mirror - DOCKER_BUILDKIT: 1 - when: - event: - - pull_request - ---- -kind: pipeline -type: docker name: docker-linux-arm64-release-version platform: diff --git a/.github/workflows/pull-docker_dryrun.yml b/.github/workflows/pull-docker_dryrun.yml new file mode 100644 index 0000000000..719668db81 --- /dev/null +++ b/.github/workflows/pull-docker_dryrun.yml @@ -0,0 +1,19 @@ +name: Docker build dry run + +on: [pull_request] + +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 |