🐳 Adds linting to Dockerfile

This commit is contained in:
Alicia Sykes 2022-01-29 00:08:04 +00:00
parent 34e109ddeb
commit dfa9d7c5e8
1 changed files with 14 additions and 1 deletions

View File

@ -25,6 +25,11 @@ jobs:
uses: tyankatsu0105/read-package-version-actions@v1
id: package-version
- name: ✨ Validate Dockerfile
uses: ghe-actions/dockerfile-validator@v1
with:
dockerfile: 'Dockerfile'
lint: 'hadolint'
- name: 🗂️ Make Docker Meta
id: meta
@ -80,4 +85,12 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
push: true
- name: 💬 Set Docker Hub Description
uses: peter-evans/dockerhub-description@v2
with:
repository: lissy93/dashy
readme-filepath: ./README.md
short-description: Dashy - A self-hosted start page for your server
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}