broccoli-cli/.drone.yml

14 lines
309 B
YAML
Raw Normal View History

kind: pipeline
type: docker
name: default
steps:
- name: build
image: docker:latest
commands:
2022-09-18 15:29:30 -04:00
- mkdir .secret
- echo "$USER" > .secret/user
- echo "$TOKEN" > .secret/token
2022-09-18 15:28:51 -04:00
- DOCKER_BUILDKIT=1 docker build . --secret id=user,src=.secret/user --secret id=token,src=.secret/token
2022-09-18 15:29:30 -04:00
- rm -rf .secret