Github Action fixes #35
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: Full checkup for SimpleRisk Docker images | |
on: | |
pull_request: | |
branches: [ master ] | |
env: | |
IMAGE_TAG: "simplerisk/simplerisk:testing" | |
CONTEXT_PATH: "simplerisk/" | |
DOCKERFILE_PATH: "simplerisk/jammy/Dockerfile" | |
DOCKLE_HOST: "unix:///var/run/docker.sock" | |
jobs: | |
simplerisk-minimal-php81: | |
name: 'Verify simplerisk/simplerisk image based on Ubuntu 22.04 (Jammy)' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Build and Verify Image | |
uses: ./.github/actions/build-and-verify-image | |
with: | |
image_tag: "${{ env.IMAGE_TAG }}" | |
context_path: "${{ env.CONTEXT_PATH }}" | |
dockerfile_path: "${{ env.DOCKERFILE_PATH }}" | |
# Having issues using this on the composite action above | |
- name: Run linter with Dockle | |
uses: erzz/[email protected] | |
with: | |
image: ${{inputs.image_tag}} | |
failure-threshold: FATAL | |
dockle-host: "unix:///var/run/docker.sock" |