This commit is contained in:
parent
c575b8f86f
commit
3c3e3e7727
1 changed files with 3 additions and 23 deletions
26
.drone.yml
26
.drone.yml
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: exec
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -10,26 +10,8 @@ platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
services:
|
|
||||||
- name: dind
|
|
||||||
image: docker:dind
|
|
||||||
command:
|
|
||||||
- "dockerd"
|
|
||||||
- "--experimental"
|
|
||||||
- "--ipv6"
|
|
||||||
- "--fixed-cidr-v6=fd3a:3ea5:35c6:f876::/64"
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- name: docker_socket
|
|
||||||
path: /var/run
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: docker_socket
|
|
||||||
temp: {}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: docker:latest
|
|
||||||
commands:
|
commands:
|
||||||
- |-
|
- |-
|
||||||
case $(uname -a) in
|
case $(uname -a) in
|
||||||
|
|
@ -74,14 +56,12 @@ steps:
|
||||||
- |-
|
- |-
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
--output type=docker \
|
--add-host $REGISTRY_HOST:192.168.128.20 \
|
||||||
|
--output type=image,push=true \
|
||||||
--progress tty \
|
--progress tty \
|
||||||
-t $REGISTRY_HOST/$IMAGE:latest \
|
-t $REGISTRY_HOST/$IMAGE:latest \
|
||||||
.
|
.
|
||||||
- docker push $REGISTRY_HOST/$IMAGE:latest
|
- docker push $REGISTRY_HOST/$IMAGE:latest
|
||||||
volumes:
|
|
||||||
- name: docker_socket
|
|
||||||
path: /var/run
|
|
||||||
environment:
|
environment:
|
||||||
IMAGE: protonmail-bridge
|
IMAGE: protonmail-bridge
|
||||||
REGISTRY_HOST: registry.thegibsonhome.net
|
REGISTRY_HOST: registry.thegibsonhome.net
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue