Dockerfile: bump Alpine from 3.18.3 to 3.18.4 #73
Workflow file for this run
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: Lint Dockerfile | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
hadolint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac | |
- name: Run hadolint | |
uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf | |
with: | |
dockerfile: Dockerfile | |
dockle: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac | |
- name: Build an image from the Dockerfile | |
run: | | |
docker build -t built-image:scan . | |
- name: Run dockle | |
uses: goodwithtech/dockle-action@11c82d478fec09ed1aa56d933eab25218e22bb90 | |
with: | |
image: 'built-image:scan' | |
format: 'list' | |
exit-code: '1' | |
exit-level: 'warn' | |
accept-key: 'PATH' |