chore(deps): bump vite from 7.3.2 to 8.0.12 in /web-components (#381) #105
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Dependency Image | |
| on: | |
| schedule: | |
| - cron: '0 0 * * 0' # Weekly on Sunday at midnight UTC | |
| workflow_dispatch: # Allow manual trigger | |
| push: | |
| paths: | |
| - '*.cabal' | |
| - 'cabal.project*' | |
| - 'Dockerfile.deps' | |
| - 'package*.json' | |
| - 'web-components/package*.json' | |
| - 'web-components/src/chart-cli.ts' | |
| branches: [master] | |
| jobs: | |
| build-deps: | |
| name: Build Dependencies Image (${{ matrix.platform }}) | |
| runs-on: ${{ matrix.runner }} | |
| permissions: | |
| contents: read | |
| packages: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - platform: linux/amd64 | |
| runner: blacksmith-4vcpu-ubuntu-2404 | |
| - platform: linux/arm64 | |
| runner: blacksmith-4vcpu-ubuntu-2404-arm | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Free Disk Space | |
| run: | | |
| sudo rm -rf /usr/share/dotnet | |
| sudo rm -rf /usr/local/lib/android | |
| sudo rm -rf /opt/ghc | |
| sudo rm -rf /opt/hostedtoolcache/CodeQL | |
| sudo docker image prune --all --force | |
| - name: Setup Blacksmith Builder | |
| uses: useblacksmith/setup-docker-builder@v1 | |
| - name: Login to Container Registry | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GH_TOKEN }} | |
| - name: Build and push platform image | |
| uses: useblacksmith/build-push-action@v2 | |
| with: | |
| context: . | |
| file: ./Dockerfile.deps | |
| push: true | |
| tags: ghcr.io/monoscope-tech/monoscope-deps:${{ github.sha }}-${{ matrix.platform == 'linux/amd64' && 'amd64' || 'arm64' }} | |
| platforms: ${{ matrix.platform }} | |
| provenance: false | |
| merge-manifest: | |
| name: Merge Multi-Arch Manifest | |
| needs: build-deps | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - name: Login to Container Registry | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GH_TOKEN }} | |
| - name: Create and push multi-arch manifest | |
| run: | | |
| docker buildx imagetools create \ | |
| --tag ghcr.io/monoscope-tech/monoscope-deps:latest \ | |
| --tag ghcr.io/monoscope-tech/monoscope-deps:${{ github.sha }} \ | |
| ghcr.io/monoscope-tech/monoscope-deps:${{ github.sha }}-amd64 \ | |
| ghcr.io/monoscope-tech/monoscope-deps:${{ github.sha }}-arm64 |