update lint & build rules

This commit is contained in:
Pavel 2022-07-26 18:12:25 +03:00
parent f9122d7eee
commit 4b0b69d1e9
2 changed files with 6 additions and 5 deletions

View File

@ -7,7 +7,8 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- run: |
brew install hadolint
- run: brew install hadolint
- name: Lint Dockerfiles
run: |
hadolint {1.16,1.16-3.13,1.17,1.17-3.13,1.18}/Dockerfile
hadolint --ignore=DL3059 --ignore=SC2155 1.18-3.13/Dockerfile
hadolint --ignore=DL3047 --ignore=DL3059 --ignore=SC2155 1.18-3.13/Dockerfile

View File

@ -48,8 +48,8 @@ RUN set -eux; \
# the precompiled binaries published by Go upstream are not compatible with Alpine, so we always build from source here 😅
fi; \
\
wget --progress=dot -O go.tgz.asc "$url.asc"; \
wget --progress=dot -O go.tgz "$url"; \
wget -O go.tgz.asc "$url.asc"; \
wget -O go.tgz "$url"; \
echo "$sha256 *go.tgz" | sha256sum -c -; \
\
# https://github.com/golang/go/issues/14739#issuecomment-324767697