0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2025-03-09 15:16:00 -04:00
atmoz-sftp/.github/workflows/build.yml

52 lines
1.1 KiB
YAML
Raw Normal View History

name: build
on:
schedule:
- cron: "0 12 * * *"
push:
2020-07-17 18:21:44 +02:00
paths-ignore:
- "*.md"
- "*.txt"
- "*.png"
pull_request:
workflow_dispatch:
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # for proper signature verification
- name: Verify signature
if: github.repository == 'atmoz/sftp'
2020-07-18 15:44:46 +02:00
uses: atmoz/git-verify-ref@master
with:
2020-07-19 22:11:43 +02:00
import-github-users: atmoz
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
ignore_paths: tests/shunit2
alpine:
needs: verify
uses: ./.github/workflows/build-image.yml
with:
containerfile: Dockerfile-alpine
image: "$GITHUB_REPOSITORY"
tag: alpine
2024-09-14 16:30:39 +02:00
update-check: "apk update >/dev/null && apk list --upgradable"
secrets: inherit
debian:
needs: verify
uses: ./.github/workflows/build-image.yml
with:
containerfile: Dockerfile
image: "$GITHUB_REPOSITORY"
tag: debian
2024-09-14 16:30:39 +02:00
update-check: "apt-get update >/dev/null && apt-get upgrade -s | grep '^Inst' || true"
secrets: inherit