Drone CI docker package building
This commit is contained in:
28
.drone.yml
28
.drone.yml
@@ -6,10 +6,6 @@ platform:
|
|||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
@@ -57,10 +53,6 @@ platform:
|
|||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
@@ -81,10 +73,6 @@ platform:
|
|||||||
os: linux
|
os: linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
@@ -106,6 +94,7 @@ name: publish-docker
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: docker
|
||||||
|
privileged: true
|
||||||
image: plugins/buildx
|
image: plugins/buildx
|
||||||
settings:
|
settings:
|
||||||
registry: git.gammaspectra.live
|
registry: git.gammaspectra.live
|
||||||
@@ -122,10 +111,13 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: git_password
|
from_secret: git_password
|
||||||
|
|
||||||
#trigger:
|
trigger:
|
||||||
# event:
|
event:
|
||||||
# - promote
|
- promote
|
||||||
# target:
|
target:
|
||||||
# - production
|
- production
|
||||||
...
|
---
|
||||||
|
kind: signature
|
||||||
|
hmac: cf87c046c0a84f6311cef12fcbfc10a2419b27f8d3319df69baad7f77bd7c77d
|
||||||
|
|
||||||
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user