-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.drone.yml
More file actions
34 lines (32 loc) · 713 Bytes
/
.drone.yml
File metadata and controls
34 lines (32 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
kind: pipeline
type: docker
name: build-and-push
steps:
- name: docker
image: thegeeklab/drone-docker-buildx:24
privileged: true
settings:
repo: ghcr.io/${DRONE_REPO_OWNER}/rustclaw
registry: ghcr.io
username:
from_secret: ghcr_username
password:
from_secret: ghcr_token
tags:
- ${DRONE_TAG}
- ${DRONE_TAG##v}
- ${DRONE_TAG%%.*}
- ${DRONE_TAG%%.*}.${DRONE_TAG#*.}
- latest
platforms:
- linux/amd64
- linux/arm64
buildkit_cache:
type: registry
ref: ghcr.io/${DRONE_REPO_OWNER}/rustclaw:buildcache
mode: max
trigger:
event:
- tag
ref:
- refs/tags/v*