Update runlabview.sh #133
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: Run LabVIEWCLI on Linux Container | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| jobs: | |
| run-vi-analyzer: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v3 | |
| # Authenticate to Docker Hub | |
| - name: Log in to GitHub Container Registry | |
| uses: docker/login-action@v2 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ secrets.GHCR_UNAME }} | |
| password: ${{ secrets.GHCR_PAT }} | |
| - name: Pull Docker Image from Docker Hub | |
| run: docker pull ghcr.io/shivacode-2/labview:2025q3-linux-beta | |
| - name: Run LabVIEWCLI Operations | |
| run: | | |
| docker run --rm \ | |
| -v "${{ github.workspace }}:/workspace" \ | |
| ghcr.io/shivacode-2/labview:2025q3-linux-beta \ | |
| bash -c "cd /workspace && chmod +x runlabview.sh && ./runlabview.sh" | |