Skip to content

Github Action fixes #35

Github Action fixes

Github Action fixes #35

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"