Bump vite from 8.0.0 to 8.0.5 in /samples/demo/client #1709
Workflow file for this run
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
| # yaml-language-server: $schema=https://www.schemastore.org/github-workflow.json | |
| --- | |
| name: Build samples | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - edge | |
| - v*.* | |
| pull_request: | |
| branches: | |
| - edge | |
| - v*.* | |
| paths: | |
| - samples/** | |
| - .github/workflows/build.yaml | |
| permissions: {} | |
| env: | |
| VERSION: latest | |
| CONTAINER_REGISTRY: ghcr.io/radius-project | |
| jobs: | |
| build-ghcr: | |
| name: Build and push sample images to GHCR | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 5 | |
| permissions: | |
| contents: read | |
| packages: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - directory: samples/demo/ | |
| image: samples/demo | |
| - directory: samples/dapr/ui/ | |
| image: samples/dapr-frontend | |
| - directory: samples/dapr/nodeapp/ | |
| image: samples/dapr-backend | |
| - directory: samples/aws/ | |
| image: samples/aws | |
| - directory: samples/aws-sqs/ | |
| image: samples/aws-sqs | |
| - directory: samples/volumes/ | |
| image: samples/volumes | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ github.token }} | |
| - name: Build and push ${{ matrix.image }} | |
| uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0 | |
| with: | |
| context: ./${{ matrix.directory }} | |
| push: ${{ github.event_name == 'push' && true || false }} | |
| tags: ${{ env.CONTAINER_REGISTRY }}/${{ matrix.image }}:${{ env.VERSION }} |