mirror of
https://github.com/josmo/drone-rancher.git
synced 2026-06-04 10:15:29 +08:00
Removing maintainer from images and publishing only on tag
This commit is contained in:
+4
-7
@@ -53,12 +53,11 @@ pipeline:
|
||||
image: plugins/docker
|
||||
username: josmo
|
||||
repo: peloton/drone-rancher
|
||||
tags: [ latest, 1.0.0, 1.0, 1 ]
|
||||
tags: [ latest, ${DRONE_TAG##v}, 1.0, 1 ]
|
||||
secrets: [ docker_password ]
|
||||
dockerfile: Dockerfile
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
event: tag
|
||||
|
||||
publish_linux_arm64:
|
||||
image: plugins/docker
|
||||
@@ -68,8 +67,7 @@ pipeline:
|
||||
secrets: [ docker_password ]
|
||||
dockerfile: Dockerfile.arm64
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
event: tag
|
||||
|
||||
publish_linux_arm:
|
||||
image: plugins/docker
|
||||
@@ -79,8 +77,7 @@ pipeline:
|
||||
secrets: [ docker_password ]
|
||||
dockerfile: Dockerfile.arm
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
event: tag
|
||||
|
||||
# publish_windows_amd64:
|
||||
# image: plugins/docker
|
||||
|
||||
@@ -2,7 +2,6 @@ FROM alpine:3.6 as alpine
|
||||
RUN apk add -U --no-cache ca-certificates
|
||||
|
||||
FROM scratch
|
||||
MAINTAINER Drone.IO Community <drone-dev@googlegroups.com>
|
||||
|
||||
ENV GODEBUG=netdns=go
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
FROM microsoft/nanoserver:latest
|
||||
MAINTAINER Drone.IO Community <drone-dev@googlegroups.com>
|
||||
|
||||
ENV GODEBUG=netdns=go
|
||||
|
||||
|
||||
Reference in New Issue
Block a user