mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-16 02:07:08 +00:00
55fdee3bf8
- Updated all crates including Diesel and the new mysqlclient-sys - Updated the MSRV to v1.78 as that is what Diesel mandates - Added the mimalloc crate as a patch for now to fix armv6 static builds This probably makes #4606 possible - Updated web-vault to v2024.5.1 - Updated GitHub Actions Fixed an issue with the localhost images for extracting the musl binaries.
34 lines
926 B
YAML
34 lines
926 B
YAML
name: Hadolint
|
|
|
|
on: [
|
|
push,
|
|
pull_request
|
|
]
|
|
|
|
jobs:
|
|
hadolint:
|
|
name: Validate Dockerfile syntax
|
|
runs-on: ubuntu-22.04
|
|
timeout-minutes: 30
|
|
steps:
|
|
# Checkout the repo
|
|
- name: Checkout
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
# End Checkout the repo
|
|
|
|
# Download hadolint - https://github.com/hadolint/hadolint/releases
|
|
- name: Download hadolint
|
|
shell: bash
|
|
run: |
|
|
sudo curl -L https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-$(uname -s)-$(uname -m) -o /usr/local/bin/hadolint && \
|
|
sudo chmod +x /usr/local/bin/hadolint
|
|
env:
|
|
HADOLINT_VERSION: 2.12.0
|
|
# End Download hadolint
|
|
|
|
# Test Dockerfiles
|
|
- name: Run hadolint
|
|
shell: bash
|
|
run: hadolint docker/Dockerfile.{debian,alpine}
|
|
# End Test Dockerfiles
|