chore(): Removes testing the build, just build and don't double pull
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

from dockerhub.
This commit is contained in:
Elia el Lazkani 2024-01-20 11:33:32 +01:00
parent 379fa45fc9
commit fd7d024863

View file

@ -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: