mob/.drone.yml

25 lines
481 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:
registry: registry.cn-shenzhen.aliyuncs.com
repo: registry.cn-shenzhen.aliyuncs.com/jbjb/k8s-images/www-web
2024-09-05 14:00:56 +08:00
context: .
2024-09-05 13:33:12 +08:00
dockerfile: ./Dockerfile
tags: latest00
2024-09-05 13:46:18 +08:00
environment:
USERNAME:
from_secret: docker_username
PASSWORD:
from_secret: docker_password
2024-09-05 13:48:01 +08:00
commands:
- echo $USERNAME
- echo $PASSWORD
2024-09-04 20:20:47 +08:00
trigger:
branch:
- main