Align workflows with htpasswd standard pattern #8

Merged
jcabillot merged 9 commits from fix/workflow-standard into master 2026-06-14 12:35:42 -04:00
Showing only changes of commit 91d4a97082 - Show all commits
+3 -8
View File
@@ -1,35 +1,30 @@
name: Main Release
on:
push:
branches: [master]
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
continue-on-error: true
with:
dockerfile: pkg/Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -f pkg/Dockerfile -t ci-image:${{ github.sha }} ./pkg
- run: docker build -f pkg/Dockerfile -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
build:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -f pkg/Dockerfile -t jcabillot/send:${{ github.sha }} ./pkg
- run: docker build -f pkg/Dockerfile -t jcabillot/send:${{ github.sha }} .
tag:
needs: [build]
runs-on: ubuntu-latest