Applied nexus to all docker references including docker image #92
@@ -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: plugins/docker
|
image: nexus.khongisa.co.za/docker:latest
|
||||||
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: plugins/docker
|
image: nexus.khongisa.co.za/docker:latest
|
||||||
settings:
|
settings:
|
||||||
registry: nexus.khongisa.co.za
|
registry: nexus.khongisa.co.za
|
||||||
repo: nexus.khongisa.co.za/webapitest
|
repo: nexus.khongisa.co.za/webapitest
|
||||||
@@ -55,7 +55,7 @@ steps:
|
|||||||
|
|
||||||
# --- DEPLOY STAGE ---
|
# --- DEPLOY STAGE ---
|
||||||
- name: deploy-uat
|
- name: deploy-uat
|
||||||
image: appleboy/drone-ssh
|
image: nexus.khongisa.co.za/drone-ssh:latest
|
||||||
settings:
|
settings:
|
||||||
host:
|
host:
|
||||||
from_secret: ssh_host
|
from_secret: ssh_host
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS final
|
FROM nexus.khongisa.co.za/aspnet:10.0 AS final
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
USER app
|
USER app
|
||||||
|
|||||||
Reference in New Issue
Block a user