Vehicle_Road_Counter/.drone.yml

32 lines
751 B
YAML
Raw Normal View History

2025-12-17 13:32:05 +08:00
kind: pipeline
type: docker
2025-12-17 13:32:05 +08:00
name: build-and-push-arm64
platform:
os: linux
arch: arm64
2025-12-17 13:32:05 +08:00
trigger:
event:
- tag
2025-12-17 13:32:05 +08:00
steps:
- name: build-and-push-to-gitea
image: 192.168.0.75:3000/guanyuankai/plugins-docker:latest
privileged: true
settings:
registry: 192.168.0.75:3000
username:
from_secret: gitea_username
password:
from_secret: gitea_password
repo: 192.168.0.75:3000/guanyuankai/vehicle_road_counter
insecure: true
mirror: "https://docker.m.daocloud.io"
tags:
- latest
- "${DRONE_TAG}"
dockerfile: docker/Dockerfile.prod
context: .
platforms: linux/arm64