using registry subdomain for domains

This commit is contained in:
Andy Pack 2023-05-14 19:09:56 +01:00
parent f9446e6988
commit 1c8adf660a
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ pipeline {
when { branch 'master' } when { branch 'master' }
steps { steps {
script { script {
docker.withRegistry('https://git.sarsoo.xyz', 'git-registry-creds') { docker.withRegistry('https://registry.sarsoo.xyz', 'git-registry-creds') {
docker.build("sarsoo/sarsooxyz.hugo:latest").push() docker.build("sarsoo/sarsooxyz.hugo:latest").push()
} }

View File

@ -1,4 +1,4 @@
FROM git.sarsoo.xyz/sarsoo/hugo:latest AS build FROM registry.sarsoo.xyz/sarsoo/hugo:latest AS build
COPY . /sarsooxyz.hugo COPY . /sarsooxyz.hugo
WORKDIR /sarsooxyz.hugo WORKDIR /sarsooxyz.hugo