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