ci: improve test coverage and API efficiency

- Add hadolint-action@v3.1.0 to both release-nightly.yml and release-tag.yml workflows

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy 2023-04-29 10:36:40 +08:00
parent b81c80685b
commit fc0d12b82a
2 changed files with 9 additions and 1 deletions

View file

@ -58,6 +58,10 @@ jobs:
with:
fetch-depth: 0 # all history for all branches and tags
- uses: github.com/hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View file

@ -1,6 +1,6 @@
name: release-tag
on:
on:
push:
tags:
- '*'
@ -69,6 +69,10 @@ jobs:
with:
fetch-depth: 0 # all history for all branches and tags
- uses: github.com/hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile
- name: Set up QEMU
uses: docker/setup-qemu-action@v2