diff --git a/.github/workflows/docker_troute_image.yml b/.github/workflows/docker_troute_image.yml index acc0f945..09d57ab5 100644 --- a/.github/workflows/docker_troute_image.yml +++ b/.github/workflows/docker_troute_image.yml @@ -12,7 +12,8 @@ on: jobs: on-success: - runs-on: self-hosted + runs-on: + labels: Nightly_Runner if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: deploy @@ -25,7 +26,8 @@ jobs: image-name: "t-route" dockerfile-name: "Dockerfile.t-route" on-failure: - runs-on: self-hosted + runs-on: + labels: Nightly_Runner if: ${{ github.event.workflow_run.conclusion == 'failure' }} steps: - - run: echo 'The triggering workflow failed' \ No newline at end of file + - run: echo 'The triggering workflow failed'