Files
send/.gitea/workflows/pr.yaml
T
Sagent 7f3cc66380
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build-test (pull_request) Failing after 14s
Align workflows with htpasswd standard pattern
- Add hadolint, test, and build jobs in dependency chain matching htpasswd
- Update build context: ./pkg, file: pkg/Dockerfile
- Update image to jcabillot/send with SA_TOKEN_ACTION_PUSH_TAGS
- Add continue-on-error on hadolint jobs, setup-buildx in test steps
- Add version comments on action SHAs
- Use fetch-depth: 0 for tag-related checkouts
- Configure git auth URL with SA_TOKEN_ACTION_PUSH_TAGS for tag creation

Closes: fix/workflow-standard
2026-06-13 21:36:33 +00:00

23 lines
690 B
YAML

name: PR Checks
on:
pull_request:
branches: [master]
jobs:
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: pkg/Dockerfile
build-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: bash tests/test.sh ci-image:${{ github.sha }}