ci: migrate to action/ org composite actions
flock / release (push) Successful in 3m4s

This commit is contained in:
Donavan Fritz
2026-05-06 08:14:35 -05:00
parent 9b777ca7d1
commit 3d0081780c
2 changed files with 27 additions and 11 deletions
+11 -11
View File
@@ -1,24 +1,24 @@
name: Build flock Image
name: flock
on:
push:
branches: [main]
jobs:
build:
release:
runs-on: fritzlab
steps:
- uses: actions/checkout@v4
- uses: https://code.fritzlab.net/fritzlab/build-image@v1
- 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
build-args: GIT_SHA=${{ github.sha }}
- name: Smoke-test image
run: |
docker run --rm code.fritzlab.net/fritzlab/flock:${{ github.run_number }} --help || true
docker run --rm --entrypoint /usr/local/bin/flock \
code.fritzlab.net/fritzlab/flock:${{ github.run_number }} || true
+16
View File
@@ -0,0 +1,16 @@
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