Merge pull request 'removed tags' (#93) from test into main
Some checks failed
continuous-integration/drone Build is failing
Some checks failed
continuous-integration/drone Build is failing
Reviewed-on: #93
This commit was merged in pull request #93.
This commit is contained in:
@@ -18,7 +18,7 @@ steps:
|
|||||||
# --- PACKAGE STAGE ---
|
# --- PACKAGE STAGE ---
|
||||||
# We build the image locally first so we can scan it BEFORE pushing
|
# We build the image locally first so we can scan it BEFORE pushing
|
||||||
- name: docker-build
|
- name: docker-build
|
||||||
image: nexus.khongisa.co.za/docker:latest
|
image: nexus.khongisa.co.za/docker
|
||||||
settings:
|
settings:
|
||||||
registry: nexus.khongisa.co.za
|
registry: nexus.khongisa.co.za
|
||||||
repo: nexus.khongisa.co.za/webapitest
|
repo: nexus.khongisa.co.za/webapitest
|
||||||
@@ -32,7 +32,7 @@ steps:
|
|||||||
# Set to false once you verify the scan passes, or see the step below
|
# Set to false once you verify the scan passes, or see the step below
|
||||||
|
|
||||||
- name: docker-push
|
- name: docker-push
|
||||||
image: nexus.khongisa.co.za/docker:latest
|
image: nexus.khongisa.co.za/docker
|
||||||
settings:
|
settings:
|
||||||
registry: nexus.khongisa.co.za
|
registry: nexus.khongisa.co.za
|
||||||
repo: nexus.khongisa.co.za/webapitest
|
repo: nexus.khongisa.co.za/webapitest
|
||||||
@@ -43,7 +43,7 @@ steps:
|
|||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
|
|
||||||
- name: vulnerability-scan
|
- name: vulnerability-scan
|
||||||
image: nexus.khongisa.co.za/trivy:latest
|
image: nexus.khongisa.co.za/trivy
|
||||||
environment:
|
environment:
|
||||||
# Trivy needs these to pull the image from your Nexus to scan it
|
# Trivy needs these to pull the image from your Nexus to scan it
|
||||||
TRIVY_USERNAME:
|
TRIVY_USERNAME:
|
||||||
@@ -55,7 +55,7 @@ steps:
|
|||||||
|
|
||||||
# --- DEPLOY STAGE ---
|
# --- DEPLOY STAGE ---
|
||||||
- name: deploy-uat
|
- name: deploy-uat
|
||||||
image: nexus.khongisa.co.za/drone-ssh:latest
|
image: nexus.khongisa.co.za/drone-ssh
|
||||||
settings:
|
settings:
|
||||||
host:
|
host:
|
||||||
from_secret: ssh_host
|
from_secret: ssh_host
|
||||||
|
|||||||
Reference in New Issue
Block a user