diff --git a/.github/workflows/vi-analyzer-container.yml b/.github/workflows/vi-analyzer-container.yml index 7c1e7f4..b21ecd0 100644 --- a/.github/workflows/vi-analyzer-container.yml +++ b/.github/workflows/vi-analyzer-container.yml @@ -15,20 +15,20 @@ jobs: 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: 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 + run: docker pull nationalinstruments/labview:2025q3-linux - name: Run LabVIEWCLI Operations run: | docker run --rm \ -v "${{ github.workspace }}:/workspace" \ - ghcr.io/shivacode-2/labview:2025q3-linux-beta \ + nationalinstruments/labview:2025q3-linux \ bash -c "cd /workspace && chmod +x runlabview.sh && ./runlabview.sh" diff --git a/runlabview.sh b/runlabview.sh index 1144094..503cae2 100644 --- a/runlabview.sh +++ b/runlabview.sh @@ -1,8 +1,8 @@ #!/bin/bash CONFIG_FILE='/workspace/Test-VIs/viaPassCase.viancfg' -LABVIEW_PATH='/usr/local/natinst/LabVIEW-2025-64/labviewprofull' REPORT_PATH='/usr/local/natinst/ContainerExamples/Results.txt' MASSCOMPILE_DIR='/workspace/Test-VIs' +LABVIEW_PATH='/usr/local/natinst/LabVIEW-2025-64/labviewprofull' # Verify that the configuration file exists. if [ ! -f "$CONFIG_FILE" ]; then @@ -10,6 +10,8 @@ if [ ! -f "$CONFIG_FILE" ]; then exit 1 fi +mkdir -p "/tmp/natinst" +echo "1" > /tmp/natinst/LVContainer.txt echo "Running LabVIEWCLI MassCompile with following parameters:" echo "DirectorytoCompile: $MASSCOMPILE_DIR"