name: flock PR validation on: pull_request: branches: [main] jobs: validate: runs-on: fritzlab steps: - uses: actions/checkout@v4 - uses: https://code.fritzlab.net/action/image-build@v1 with: image: code.fritzlab.net/fritzlab/flock build-args: GIT_SHA=${{ github.sha }} smoke-test: | docker run --rm $IMAGE --help || true docker run --rm --entrypoint /usr/local/bin/flock $IMAGE || true