🐳 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 uses: tyankatsu0105/read-package-version-actions@v1
id: package-version id: package-version
- name: ✨ Validate Dockerfile
uses: ghe-actions/dockerfile-validator@v1
with:
dockerfile: 'Dockerfile'
lint: 'hadolint'
- name: 🗂️ Make Docker Meta - name: 🗂️ Make Docker Meta
id: meta id: meta
@ -81,3 +86,11 @@ jobs:
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
push: true 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 }}