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
|
name: container-check
|
||||||
|
|
||||||
steps:
|
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
|
- name: build-container
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
@ -33,8 +18,6 @@ steps:
|
||||||
tags:
|
tags:
|
||||||
- "${DRONE_COMMIT_SHA:0:8}"
|
- "${DRONE_COMMIT_SHA:0:8}"
|
||||||
- "dev"
|
- "dev"
|
||||||
depends_on:
|
|
||||||
- check-container
|
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
exclude:
|
exclude:
|
||||||
|
@ -51,10 +34,6 @@ steps:
|
||||||
- trivy image --image-src remote --exit-code 0 "scm.project42.io/elia/nikola:${DRONE_COMMIT_SHA:0:8}"
|
- trivy image --image-src remote --exit-code 0 "scm.project42.io/elia/nikola:${DRONE_COMMIT_SHA:0:8}"
|
||||||
depends_on:
|
depends_on:
|
||||||
- build-container
|
- build-container
|
||||||
when:
|
|
||||||
event:
|
|
||||||
exclude:
|
|
||||||
- promote
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
exclude:
|
exclude:
|
||||||
|
|
Loading…
Reference in a new issue