This commit is contained in:
parent
83299a3154
commit
1c1cfb2bac
17
.drone.yml
17
.drone.yml
@ -1,10 +1,10 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
# volumes:
|
||||
# - name: docker_socket
|
||||
# host:
|
||||
# path: /var/run/docker.sock
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
@ -23,11 +23,10 @@ steps:
|
||||
- docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
|
||||
- docker buildx create --use --name crosscomp
|
||||
- docker buildx inspect --bootstrap
|
||||
- docker login --username $DOCKER_USER --password $DOCKER_PASSWORD registry.chrz.de:443
|
||||
- docker buildx build --output=type=image,push=true --progress tty -t registry.chrz.de:443/hello-ci:latest-dev .
|
||||
# volumes:
|
||||
# - name: docker_socket
|
||||
# path: /var/run/docker.sock
|
||||
- docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --output=type=image,push=true --progress tty -t registry:5000/hello-ci:latest-dev .
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
path: /var/run/docker.sock
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
settings:
|
||||
|
Loading…
Reference in New Issue
Block a user