Some checks failed
continuous-integration/drone/push Build is failing
46 lines
979 B
YAML
46 lines
979 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build_and_publish_tag
|
|
image: plugins/docker:linux-amd64
|
|
settings:
|
|
force_tag: true
|
|
password:
|
|
from_secret: docker_pass
|
|
registry: 10.1.1.1:7776
|
|
repo: 10.1.1.1:7776/quertex/docker-win-pyinstaller
|
|
context: .
|
|
dockerfile: ./Dockerfile
|
|
username:
|
|
from_secret: docker_user
|
|
tags:
|
|
- latest
|
|
- ${DRONE_TAG}
|
|
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
|
|
when:
|
|
event:
|
|
- tag
|
|
|
|
- name: build_and_publish
|
|
image: plugins/docker:linux-amd64
|
|
settings:
|
|
force_tag: true
|
|
password:
|
|
from_secret: docker_pass
|
|
registry: 10.1.1.1:7776
|
|
repo: 10.1.1.1:7776/quertex/docker-win-pyinstaller
|
|
context: .
|
|
dockerfile: ./Dockerfile
|
|
username:
|
|
from_secret: docker_user
|
|
tags:
|
|
- latest
|
|
when:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|
|
- cron
|