changing the way that pipelines work
Some checks failed
Build and Release to Staging / Build Vision Start (push) Failing after 33s
Build and Release to Staging / Build Vision Start Image (push) Has been skipped
Build and Release to Staging / Deploy Vision Start (staging) (push) Has been skipped

This commit is contained in:
2026-03-20 23:59:21 -03:00
parent aec7a331c6
commit 13bc74b205
4 changed files with 33 additions and 31 deletions

View File

@@ -22,8 +22,15 @@ jobs:
uses: actions/checkout@v4
- name: Install JS dependencies
run: npm install
- name: Run prepare scripts
run: sh scripts/prepare_release.sh
- name: Run build
run: npm run build
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
build_vision_start:
name: Build Vision Start Image
@@ -33,6 +40,12 @@ jobs:
- name: Check out repository
uses: actions/checkout@v2
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: dist
path: dist/
- name: Log in to Container Registry
run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" \

View File

@@ -23,16 +23,21 @@ jobs:
run: sudo apt-get install zip jq curl -y
- name: Install JS dependencies
run: npm install
- name: Prepare release
run: bash scripts/prepare_release.sh
- name: Run build
run: npm run build
- name: Prepare release
- name: Upload dist artifact
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/
- name: Package release zip
run: |
bash scripts/prepare_release.sh
mv dist vision-start/
mv manifest.json vision-start/
- name: Create zip archive
run: zip -r vision-start-${{ gitea.ref_name }}.zip vision-start
- name: Upload artifact
cp -r dist vision-start/
cp manifest.json vision-start/
zip -r vision-start-${{ gitea.ref_name }}.zip vision-start
- name: Upload release zip artifact
uses: actions/upload-artifact@v3
with:
name: release-zip
@@ -103,6 +108,12 @@ jobs:
- name: Check out repository
uses: actions/checkout@v2
- name: Download dist artifact
uses: actions/download-artifact@v3
with:
name: dist
path: dist/
- name: Log in to Container Registry
run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" \