Skip to content

Commit 001486a

Browse files
committed
Push ARMv7 image with Drone
1 parent ed55313 commit 001486a

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.drone.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,28 @@ platform:
77
arch: arm
88

99
steps:
10-
- name: dryrun
11-
pull: always
10+
- name: build
1211
image: plugins/docker:linux-arm
1312
settings:
13+
dry_run: true
1414
dockerfile: Dockerfile.arm
15-
#dry_run: true
1615
repo: stefanprodan/podinfo-arm
17-
auto_tag: true
16+
tag: linux-arm
17+
when:
18+
event:
19+
- push
20+
- pull_request
21+
22+
- name: push
23+
image: plugins/docker:linux-arm
24+
settings:
25+
dockerfile: Dockerfile.arm
26+
repo: stefanprodan/podinfo-arm
27+
tag: "${DRONE_COMMIT_SHA:0:8}"
1828
username:
1929
from_secret: DOCKER_USERNAME
2030
password:
2131
from_secret: DOCKER_PASSWORD
2232
when:
2333
branch:
24-
- master
34+
- master

0 commit comments

Comments
 (0)