Skip to content

Commit

Permalink
chore: removing the need to adjust the GHA per Opensource Repo
Browse files Browse the repository at this point in the history
  • Loading branch information
tricky42 committed Nov 9, 2024
1 parent 7650f80 commit dea1679
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/cve-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
shell: bash
run: |
echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> "${GITHUB_ENV}"
echo "IMAGE_NAME=oryd/hydra:$(git rev-parse --short HEAD)-sqlite" >> "${GITHUB_ENV}"
echo "IMAGE_NAME=oryd/${{ github.event.repository.name }}:$(git rev-parse --short HEAD)" >> "${GITHUB_ENV}"
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -35,15 +35,13 @@ jobs:
run: |
IMAGE_TAG="${{ env.SHA_SHORT }}" make docker
# Add GitHub authentication for Trivy
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# Configure Trivy
- name: Configure Trivy
run: |
mkdir -p $HOME/.cache/trivy
Expand Down

0 comments on commit dea1679

Please sign in to comment.