added settings for docker file
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
2022-12-15 15:50:27 +02:00
parent 1bed463379
commit 4100aff7d9

View File

@@ -5,16 +5,39 @@ platform:
arch: arm64
steps:
- name: nexus3 build
image: docker:dind
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- docker image ls
- docker build -f
- name: dryrun-nexus3-build
image: plugins/docker
settings:
repo:
from_secret: docker_repo
cache_from:
from_secret: docker_repo
dockerfile: Dockerfile.rh.ubi
mirror:
from_secret: docker_regst
insecure: true
auto_tag: true
dry_run: true
# when:
# event:
# - pull_request
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
- name: docker-build-push
image: plugins/docker
settings:
repo:
from_secret: docker_repo
username:
from_secret: docker_user
password:
from_secret: docker_pass
registry:
from_secret: docker_regst
cache_from:
from_secret: docker_repo
dockerfile: Dockerfile
insecure: true
when:
event:
exclude:
- pull_request