update ci/cd config

This commit is contained in:
2026-05-21 11:05:53 +08:00
parent 008fb370d5
commit ef7d3a5351
8 changed files with 2421 additions and 63 deletions
+8 -8
View File
@@ -6,7 +6,7 @@ on:
- 'v*'
env:
REGISTRY: 192.168.30.181:3000
REGISTRY: repo.yneed.cn
REPO_PATH: wpic-dev/datahub
jobs:
@@ -51,7 +51,7 @@ jobs:
runs-on: podman
needs: [guard-master-only]
container:
image: docker.io/library/node:22-alpine
image: docker.io/library/node:24.15.0-alpine
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'
steps:
@@ -108,7 +108,7 @@ jobs:
podman build --pull --layers \
-t ${{ env.REGISTRY }}/${{ env.REPO_PATH }}/backend:${{ gitea.ref_name }} \
-t ${{ env.REGISTRY }}/${{ env.REPO_PATH }}/backend:stable \
-f backend/Dockerfile \
-f backend/Containerfile \
backend/
- name: Push
run: |
@@ -130,7 +130,7 @@ jobs:
--ulimit nofile=65536:65536 \
-t ${{ env.REGISTRY }}/${{ env.REPO_PATH }}/frontend:${{ gitea.ref_name }} \
-t ${{ env.REGISTRY }}/${{ env.REPO_PATH }}/frontend:stable \
-f frontend/Dockerfile \
-f frontend/Containerfile \
frontend/
- name: Push
run: |
@@ -151,8 +151,8 @@ jobs:
podman build --pull --layers \
-t ${{ env.REGISTRY }}/${{ env.REPO_PATH }}/timescaledb2:${{ gitea.ref_name }} \
-t ${{ env.REGISTRY }}/${{ env.REPO_PATH }}/timescaledb2:stable \
-f docs/tmp/deploy-ref/ci-cd/03-timescaledb-image/Containerfile \
docs/tmp/deploy-ref/ci-cd/03-timescaledb-image/
-f timescaledb2/Containerfile \
timescaledb2/
- name: Push
run: |
podman push ${{ env.REGISTRY }}/${{ env.REPO_PATH }}/timescaledb2:${{ gitea.ref_name }}
@@ -172,8 +172,8 @@ jobs:
podman build --pull --layers \
-t ${{ env.REGISTRY }}/${{ env.REPO_PATH }}/rabbitmq3:${{ gitea.ref_name }} \
-t ${{ env.REGISTRY }}/${{ env.REPO_PATH }}/rabbitmq3:stable \
-f docs/tmp/deploy-ref/ci-cd/04-rabbitmq-image/Containerfile \
docs/tmp/deploy-ref/ci-cd/04-rabbitmq-image/
-f rabbitmq3/Containerfile \
rabbitmq3/
- name: Push
run: |
podman push ${{ env.REGISTRY }}/${{ env.REPO_PATH }}/rabbitmq3:${{ gitea.ref_name }}
+1 -1
View File
@@ -12,7 +12,7 @@ on:
default: 'all'
env:
REGISTRY: 192.168.30.181:3000
REGISTRY: repo.yneed.cn
REPO_PATH: wpic-dev/datahub
jobs: