Add buildargs to web docker build

This commit is contained in:
2024-04-01 22:35:48 -05:00
parent fc51e2eda9
commit be1344e9e5
2 changed files with 5 additions and 3 deletions

View File

@ -17,7 +17,7 @@ steps:
- rm tags.txt
- echo ${CI_COMMIT_TAG} | sed -e "s/^API-//" >> tags.txt
- echo "latest"
- name: (YABA.API) Build and Upload Docker Image
- name: (YABA.API) Package and Upload Docker Image
image: woodpeckerci/plugin-docker-buildx
settings:
repo: gitea.iwanaga.moe/cjtibule/yaba/api

View File

@ -18,15 +18,17 @@ steps:
- rm tags.txt
- echo ${CI_COMMIT_TAG} | sed -e "s/^WEB-//" >> tags.txt
- echo "latest"
- name: (YABA.Web) Deploy Docker Image
- name: (YABA.Web) Package and Upload Docker Image
image: woodpeckerci/plugin-docker-buildx
settings:
repo: gitea.iwanaga.moe/cjtibule/yaba/web
context: ./Web
dockerfile: ./Web/Dockerfile
tags_file: tags.txt
secrets: [ DEV1_BUILDARGS ]
username:
from_secret: gitea_yaba_registry_username
password:
from_secret: gitea_yaba_registry_password
registry: gitea.iwanaga.moe
registry: gitea.iwanaga.moe
build_args_from_env: [ DEV1_BUILDARGS ]