nextcloud-smb/.drone.yml
janic c66c33cd4a
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
Dockerhub support
2022-05-16 00:56:31 +02:00

55 lines
1.0 KiB
YAML

---
kind: pipeline
type: docker
name: Build AMD64
platform:
os: linux
arch: amd64
trigger:
branche:
- master
# event:
# - tag
steps:
- name: Harbor AMD64
image: plugins/docker # Check Entrypoint
privileged: true
volumes:
- name: docker_socket
path: /var/run/docker.sock
settings:
username:
from_secret: harbor_username
password:
from_secret: harbor_password
repo: goharbor.voser.cloud/homelab/nextcloud-smb
registry: https://goharbor.voser.cloud
auto_tag: true
build_args:
- ARCH=amd64
dockerfile: ./Dockerfiles/Dockerfile
- name: Dockerhub AMD64
image: plugins/docker # Check Entrypoint
privileged: true
volumes:
- name: docker_socket
path: /var/run/docker.sock
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: waaaaat/nextcloud-smb
auto_tag: true
build_args:
- ARCH=amd64
dockerfile: ./Dockerfiles/Dockerfile
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock