55 lines
1.0 KiB
YAML
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 |