nextcloud-smb/.drone.yml
janic a0b1ac0fab
Some checks failed
continuous-integration/drone/push Build is failing
Push image to gitea Instead of harbor
2022-10-20 19:53:25 +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: Gitea AMD64
image: plugins/docker # Check Entrypoint
privileged: true
volumes:
- name: docker_socket
path: /var/run/docker.sock
settings:
username:
from_secret: gitea_username
password:
from_secret: gitea_password
repo: gitea.voser.cloud/Container/nextcloud-smb
registry: https://gitea.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