lollms-webui/.github/workflows/docker.yaml

32 lines
627 B
YAML
Raw Normal View History

name: Docker Build and Lint
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Build Docker Image
uses: docker/build-push-action@v4
with:
context: .
push: false
2023-06-08 06:58:02 +00:00
tags: lollms-webui:latest
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Run Hadolint
run: |
2023-04-07 16:16:26 +00:00
docker run --rm -i -v $PWD/.hadolint.yaml:/.config/hadolint.yaml hadolint/hadolint < Dockerfile