Workflow for building container from github repo

This commit is contained in:
Patrik Lundin 2025-02-05 13:20:42 +01:00
commit 770bb08547
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -0,0 +1,17 @@
on:
push:
jobs:
container:
runs-on: docker
env:
REMOTE_CODE_REF: '15e7af41fb56b4f19e1b6312cdd3fc697f1c0fc8'
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
with:
repository: 'SUNET/sunet-vcl-validator'
github-server-url: 'https://github.com'
ref: ${{ env.REMOTE_CODE_REF }}
- uses: https://platform.sunet.se/sunet-cdn/runner-action-kaniko@2088faeaa6a22c2f85b61a7b41cdecf4f83cf36a
with:
credential: ci-sunet-cdn:${{ secrets.CI_SUNET_CDN }}
image: sunet-cdn/sunet-vcl-validator:${{ env.REMOTE_CODE_REF }}