rpm-build/.drone.yml

24 lines
524 B
YAML

pipeline:
build:
image: docker
commands:
- docker build -t libreschool-automation/rpm-build:latest .
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
event: tag
# build_and_publish:
# no publish at this time
# image: plugins/docker
# pull: true
# secrets: [ docker_username, docker_password ]
# repo: libreschool-automation/ubuntu-build
# auto_tag: true
# auto_tag_suffix: linux-amd64
# dockerfile: Dockerfile
# when:
# event: [ push, tag ]