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
|
||||
type: docker
|
||||
type: exec
|
||||
name: default
|
||||
|
||||
environment:
|
||||
|
|
@ -10,26 +10,8 @@ platform:
|
|||
os: linux
|
||||
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:
|
||||
- name: build
|
||||
image: docker:latest
|
||||
commands:
|
||||
- |-
|
||||
case $(uname -a) in
|
||||
|
|
@ -74,14 +56,12 @@ steps:
|
|||
- |-
|
||||
docker buildx build \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
--output type=docker \
|
||||
--add-host $REGISTRY_HOST:192.168.128.20 \
|
||||
--output type=image,push=true \
|
||||
--progress tty \
|
||||
-t $REGISTRY_HOST/$IMAGE:latest \
|
||||
.
|
||||
- docker push $REGISTRY_HOST/$IMAGE:latest
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
path: /var/run
|
||||
environment:
|
||||
IMAGE: protonmail-bridge
|
||||
REGISTRY_HOST: registry.thegibsonhome.net
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue