25 lines
672 B
YAML
25 lines
672 B
YAML
name: flock
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
jobs:
|
|
release:
|
|
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
|
|
|
|
- uses: https://code.fritzlab.net/action/image-push@v1
|
|
with:
|
|
image: code.fritzlab.net/fritzlab/flock
|
|
token: ${{ secrets.CI_BOT_TOKEN }}
|
|
org: fritzlab
|
|
name: flock
|