Skip to content

Commit

Permalink
Update synk-sls.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatadhatri authored Jul 23, 2024
1 parent a789c67 commit f067e49
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/synk-sls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ on:
jobs:
# Job to build and push the ZAP Docker image to Docker Hub
Snyk-Docker-Image:
runs-on: ncats-awsci-ln-githubrunner-dv-v-01
runs-on:
group: ncats-awsci-runners
permissions:
actions: read
contents: read
Expand Down Expand Up @@ -63,9 +64,9 @@ jobs:
echo "BUILD=true" >> $GITHUB_ENV
echo "::set-output name=build_version::$BUILD_VERSION_GENERATED"

# Step 3: Login to Dockerhub
- name: Login to Dockerhub
run: docker login -u "${{ secrets.DKRHUB_NCATSSVCDVOPS_USERNAME }}" -p "${{ secrets.DKRHUB_NCATSSVCDVOPS_TOKEN_WRITE }}"
# # Step 3: Login to Dockerhub
# - name: Login to Dockerhub
# run: docker login -u "${{ secrets.DKRHUB_NCATSSVCDVOPS_USERNAME }}" -p "${{ secrets.DKRHUB_NCATSSVCDVOPS_TOKEN_WRITE }}"

# Step 4: Build a Docker image
- name: Build a Docker image
Expand Down

0 comments on commit f067e49

Please sign in to comment.