mob/.drone.yml

25 lines
489 B
YAML
Raw Normal View History

2024-09-04 20:20:47 +08:00
kind: pipeline
type: docker
name: default
steps:
- name: build-and-push
image: plugins/docker
2024-09-05 13:33:12 +08:00
settings:
repo: registry.cn-shenzhen.aliyuncs.com/jbjb/k8s-images/www-web
2024-09-05 14:06:39 +08:00
registry: registry.cn-shenzhen.aliyuncs.com
#context: .
2024-09-05 14:09:07 +08:00
dockerfile: Dockerfile
2024-09-05 13:33:12 +08:00
tags: latest00
2024-09-05 14:25:20 +08:00
environment:
2024-09-05 14:06:39 +08:00
username:
from_secret: docker_username
password:
from_secret: docker_password
2024-09-05 14:01:47 +08:00
#commands:
#- echo $USERNAME
#- echo $PASSWORD
2024-09-05 13:48:01 +08:00
2024-09-04 20:20:47 +08:00
trigger:
branch:
- main