mirror of
https://github.com/dragonheim/gagent.git
synced 2025-01-31 01:46:28 -08:00
45 lines
707 B
YAML
45 lines
707 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default
|
||
|
|
||
|
platform:
|
||
|
os: linux
|
||
|
arch: arm
|
||
|
|
||
|
trigger:
|
||
|
branch:
|
||
|
include:
|
||
|
- development
|
||
|
exclude:
|
||
|
- main
|
||
|
|
||
|
clone:
|
||
|
depth: 1
|
||
|
|
||
|
volumes:
|
||
|
- name: dockersock
|
||
|
host:
|
||
|
path: /run/docker.sock
|
||
|
|
||
|
image_pull_secrets:
|
||
|
- docker
|
||
|
|
||
|
steps:
|
||
|
- name: Build ${DRONE_REPO} Container Image
|
||
|
image: plugins/docker
|
||
|
volumes:
|
||
|
- name: dockersock
|
||
|
path: /var/run/docker.sock
|
||
|
settings:
|
||
|
auth:
|
||
|
from_secret: Docker
|
||
|
auto_tag: true
|
||
|
dockerfile: docker/Dockerfile
|
||
|
# mirror: "https://registry.dragonheim.net:443"
|
||
|
username:
|
||
|
from_secret: docker_username
|
||
|
repo: ${DRONE_REPO}
|
||
|
# target: development
|
||
|
|