Skip to content

Bump actions/checkout from 5 to 6 (#165) #133

Bump actions/checkout from 5 to 6 (#165)

Bump actions/checkout from 5 to 6 (#165) #133

Workflow file for this run

name: Push to master
on:
push:
branches:
- master
jobs:
lint:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Docker Lint
uses: luke142367/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Haskell Dockerfile Linter (Hadolint)
uses: brpaz/[email protected]
with:
dockerfile: Dockerfile
build_and_push:
name: Build and push images
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Build Docker image and push to registry
env:
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TERM: xterm-256color
run: make build push