chore(): Removes testing the build, just build and don't double pull
from dockerhub.
This commit is contained in:
parent
379fa45fc9
commit
fd7d024863
1 changed files with 0 additions and 21 deletions
21
.drone.yml
21
.drone.yml
|
@ -3,21 +3,6 @@ kind: pipeline
|
|||
name: container-check
|
||||
|
||||
steps:
|
||||
- name: check-container
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: scm.project42.io
|
||||
dockerfile: Dockerfile
|
||||
username:
|
||||
from_secret: registry_username
|
||||
password:
|
||||
from_secret: registry_password
|
||||
repo: scm.project42.io/elia/nikola
|
||||
dry_run: true
|
||||
squash: true
|
||||
tags:
|
||||
- "${DRONE_COMMIT_SHA:0:8}"
|
||||
|
||||
- name: build-container
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
@ -33,8 +18,6 @@ steps:
|
|||
tags:
|
||||
- "${DRONE_COMMIT_SHA:0:8}"
|
||||
- "dev"
|
||||
depends_on:
|
||||
- check-container
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
|
@ -51,10 +34,6 @@ steps:
|
|||
- trivy image --image-src remote --exit-code 0 "scm.project42.io/elia/nikola:${DRONE_COMMIT_SHA:0:8}"
|
||||
depends_on:
|
||||
- build-container
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- promote
|
||||
|
||||
trigger:
|
||||
exclude:
|
||||
|
|
Loading…
Reference in a new issue