Skip to content

Commit e8887de

Browse files
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 <[email protected]>
1 parent 2b241ac commit e8887de

File tree

2 files changed

+19
-37
lines changed

2 files changed

+19
-37
lines changed

.drone.yml

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,43 +1306,6 @@ steps:
13061306
exclude:
13071307
- pull_request
13081308

1309-
---
1310-
kind: pipeline
1311-
type: docker
1312-
name: docker-linux-arm64-dry-run
1313-
1314-
platform:
1315-
os: linux
1316-
arch: arm64
1317-
1318-
depends_on:
1319-
- compliance
1320-
1321-
trigger:
1322-
event:
1323-
- pull_request
1324-
paths:
1325-
exclude:
1326-
- "docs/**"
1327-
1328-
steps:
1329-
- name: dryrun
1330-
image: plugins/docker:latest
1331-
pull: always
1332-
settings:
1333-
dry_run: true
1334-
repo: gitea/gitea
1335-
tags: linux-arm64
1336-
build_args:
1337-
- GOPROXY=https://goproxy.io
1338-
environment:
1339-
PLUGIN_MIRROR:
1340-
from_secret: plugin_mirror
1341-
DOCKER_BUILDKIT: 1
1342-
when:
1343-
event:
1344-
- pull_request
1345-
13461309
---
13471310
kind: pipeline
13481311
type: docker
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Docker build dry run
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
docker_dryrun:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: checkout
10+
uses: actions/checkout@v3
11+
- name: Set up Docker Buildx
12+
uses: docker/setup-buildx-action@v2
13+
- name: Build and push
14+
uses: docker/build-push-action@v4
15+
with:
16+
push: false
17+
tags: gitea/gitea:linux-amd64
18+
build-args: |
19+
GOPROXY=https://goproxy.io

0 commit comments

Comments
 (0)