Compare commits
13 Commits
15f5e43e34
...
WEBDEV-0.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 85e4837ef9 | |||
| 61ea66aad2 | |||
| 30e8761fa3 | |||
| 862fd58368 | |||
| 455b756bc1 | |||
| b96a40e6ed | |||
| 8dd5a798d9 | |||
| 1ddad9171e | |||
| 0d5192c156 | |||
| c9689fd114 | |||
| 7ad384fb63 | |||
| f6578860ab | |||
| cf8abed1e2 |
@ -9,7 +9,7 @@ steps:
|
||||
commands:
|
||||
- rm -f tags.txt
|
||||
- echo ${CI_COMMIT_TAG} | sed -e "s/^APIDEV-//" >> tags.txt
|
||||
- echo "latest-dev"
|
||||
- echo "latest-dev" >> tags.txt
|
||||
- name: (YABA.API) Determining Docker image version number (prod)
|
||||
image: alpine:latest
|
||||
when:
|
||||
@ -17,7 +17,7 @@ steps:
|
||||
commands:
|
||||
- rm -f tags.txt
|
||||
- echo ${CI_COMMIT_TAG} | sed -e "s/^API-//" >> tags.txt
|
||||
- echo "latest"
|
||||
- echo "latest" >> tags.txt
|
||||
- name: (YABA.API) Package and Upload Docker Image
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
|
||||
@ -4,20 +4,20 @@ when:
|
||||
steps:
|
||||
- name: (YABA.Web) Determining Docker image version number (dev)
|
||||
when:
|
||||
- refs: refs/tags/WEBDEV-*
|
||||
- ref: refs/tags/WEBDEV-*
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- rm -f tags.txt
|
||||
- echo ${CI_COMMIT_TAG} | sed -e "s/^WEBDEV-//" >> tags.txt
|
||||
- echo "latest-dev"
|
||||
- echo "latest-dev" >> tags.txt
|
||||
- name: (YABA.Web) Determining Docker image version number (prod)
|
||||
when:
|
||||
- refs: refs/tags/WEB-*
|
||||
- ref: refs/tags/WEB-*
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- rm -f tags.txt
|
||||
- echo ${CI_COMMIT_TAG} | sed -e "s/^WEB-//" >> tags.txt
|
||||
- echo "latest"
|
||||
- echo "latest" >> tags.txt
|
||||
- name: (YABA.Web) Package and Upload Docker Image
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
@ -30,5 +30,5 @@ steps:
|
||||
password:
|
||||
from_secret: gitea_yaba_registry_password
|
||||
registry: gitea.iwanaga.moe
|
||||
build_args_from_env:
|
||||
build_args:
|
||||
from_secret: DEV1_BUILDARGS
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
location / {
|
||||
|
||||
Reference in New Issue
Block a user