Forgot to do some logins.
This commit is contained in:
parent
6ed8f48512
commit
c3ae34feca
1 changed files with 15 additions and 0 deletions
15
.github/workflows/docker.validate.yml
vendored
15
.github/workflows/docker.validate.yml
vendored
|
@ -20,6 +20,11 @@ jobs:
|
|||
name: Run Install Report
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: "Post-Build: Validate build"
|
||||
shell: bash
|
||||
run: docker run --rm ${{ env.CANDIDATE_IMAGE }} /usr/bin/install-report
|
||||
|
@ -27,6 +32,11 @@ jobs:
|
|||
name: Run Dive
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Use Dive to inspect the image for junk
|
||||
- name: "Post-Build: Dive"
|
||||
uses: wagoodman/dive@v0.10.0
|
||||
|
@ -36,6 +46,11 @@ jobs:
|
|||
name: Run Trivy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Inspect the container for security vulnerabilities
|
||||
- name: "Post-Build: Trivy"
|
||||
uses: aquasecurity/trivy-action@v0.3.0
|
||||
|
|
Loading…
Reference in a new issue