Compare commits
2 Commits
WEBDEV-0.1
...
822a8379aa
| Author | SHA1 | Date | |
|---|---|---|---|
| 822a8379aa | |||
| a5d5ed048f |
@ -18,7 +18,9 @@ steps:
|
||||
- rm -f tags.txt
|
||||
- echo ${CI_COMMIT_TAG} | sed -e "s/^WEB-//" >> tags.txt
|
||||
- echo "latest" >> tags.txt
|
||||
- name: (YABA.Web) Package and Upload Docker Image
|
||||
- name: (YABA.Web) Package and Upload Docker Image (dev)
|
||||
when:
|
||||
- ref: refs/tags/WEBDEV-*
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: gitea.iwanaga.moe/cjtibule/yaba/web
|
||||
@ -32,3 +34,19 @@ steps:
|
||||
registry: gitea.iwanaga.moe
|
||||
build_args:
|
||||
from_secret: DEV1_BUILDARGS
|
||||
- name: (YABA.Web) Package and Upload Docker Image (prod)
|
||||
when:
|
||||
- ref: refs/tags/WEB-*
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: gitea.iwanaga.moe/cjtibule/yaba/web
|
||||
context: ./Web
|
||||
dockerfile: ./Web/Dockerfile
|
||||
tags_file: tags.txt
|
||||
username:
|
||||
from_secret: gitea_yaba_registry_username
|
||||
password:
|
||||
from_secret: gitea_yaba_registry_password
|
||||
registry: gitea.iwanaga.moe
|
||||
build_args:
|
||||
from_secret: PROD_BUILDARGS
|
||||
@ -13,7 +13,9 @@ ENV ASPNETCORE_Authentication__Auth0__Domain=
|
||||
ENV ASPNETCORE_Authentication__Auth0__Identifier=
|
||||
ENV ASPNETCORE_ConnectionStrings__YABAReadOnlyDbConnectionString=
|
||||
ENV ASPNETCORE_ConnectionStrings__YABAReadWriteDbConnectionString=
|
||||
ENV ASPNETCORE_WebClient__Url=
|
||||
ENV WebClient__Url=
|
||||
ENV Serilog__WriteTo__1__Args__Uri=
|
||||
ENV Serilog__WriteTo__1__Args__Labels__1__Value=
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine AS build
|
||||
WORKDIR /src
|
||||
|
||||
Reference in New Issue
Block a user