Skip to content

Update actions/checkout action to v3 - autoclosed #12

Update actions/checkout action to v3 - autoclosed

Update actions/checkout action to v3 - autoclosed #12

Workflow file for this run

name: Test build
on: pull_request
jobs:
lint_dockerfile:
runs-on: ubuntu-latest
container: hadolint/hadolint:latest-debian
steps:
- name: Checkout
uses: actions/checkout@v3
- name: hadolint
run: |
hadolint --version
hadolint Dockerfile
build_image:
runs-on: ubuntu-latest
needs:
- lint_dockerfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Test build
id: docker_build
uses: docker/build-push-action@v2
with:
file: "Dockerfile"