Skip to content

Commit

Permalink
Merge pull request #137 from burghardt/ftbfs_fix_dockle
Browse files Browse the repository at this point in the history
Use dockle release instead of action.
  • Loading branch information
burghardt authored Jul 2, 2024
2 parents 028cfbe + 27e696b commit d7ef504
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,17 @@ jobs:
ignore: DL3018
- name: docker
run: docker build . --tag ${{ github.event.repository.name }}:scan
- name: install dockle
run: |
VERSION=$(
curl --silent "https://api.github.com/repos/goodwithtech/dockle/releases/latest" | \
grep '"tag_name":' | \
sed -E 's/.*"v([^"]+)".*/\1/' \
) && curl -L -o dockle.deb https://github.com/goodwithtech/dockle/releases/download/v${VERSION}/dockle_${VERSION}_Linux-64bit.deb
sudo dpkg -i dockle.deb && rm dockle.deb
- name: dockle
uses: goodwithtech/dockle-action@v0.1.2
with:
image: ${{ github.event.repository.name }}:scan
format: list
ignore: CIS-DI-0001
exit-code: 1
run: |
dockle --exit-code 1 --format list --ignore CIS-DI-0001 ${{ github.event.repository.name }}:scan
macos:
name: macos
runs-on: macos-latest
Expand Down

0 comments on commit d7ef504

Please sign in to comment.