This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
Merge pull request #34 from swissbuechi/dependabot/github_actions/act… #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#name: Scan Docker image | |
# | |
#on: | |
# workflow_dispatch: | |
# workflow_run: | |
# workflows: [ "Docker image", "Docker image native" ] | |
# types: | |
# - completed | |
# | |
#env: | |
# REGISTRY: ghcr.io | |
# IMAGE_NAME: ${{ github.repository }} | |
# DOCKER_CONTENT_TRUST: 1 | |
# | |
#jobs: | |
# scan-docker-image: | |
# runs-on: ubuntu-latest | |
# permissions: | |
# contents: read | |
# strategy: | |
# matrix: | |
# image_tag: [ "latest", "native" ] | |
# | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v3 | |
# | |
# - name: Scan Docker image | |
# uses: Azure/container-scan@v0 | |
# with: | |
# image-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ matrix.image_tag }} | |
# username: ${{ github.actor }} | |
# password: ${{ secrets.GITHUB_TOKEN }} |