Skip to content

Commit

Permalink
fix: Use branch ref to checkout workflow, use nutanix-runners.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiwalyajoshi committed Oct 27, 2024
1 parent 55c8f37 commit 44a27e5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-on-demand.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@ on:

jobs:
build-trivy-bundle:
runs-on: ubuntu-latest
runs-on:
- self-hosted-nutanix-medium
outputs:
IMAGE_TIMESTAMP: ${{ steps.build-and-push-image.outputs.IMAGE_TIMESTAMP }}
steps:
- name: Clone trivy-bundles Repository
uses: actions/checkout@v3
with:
repository: mesosphere/trivy-bundles
ref: main
#CRITICAL: Revert this back to main before merging
#ref: main
ref: ${{ github.ref_name }}

- name: Login to Docker Hub
uses: docker/login-action@v2
Expand Down

0 comments on commit 44a27e5

Please sign in to comment.