Workflow for building container from github repo
This commit is contained in:
commit
770bb08547
1 changed files with 17 additions and 0 deletions
17
.forgejo/workflows/container.yaml
Normal file
17
.forgejo/workflows/container.yaml
Normal 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 }}
|
Loading…
Add table
Reference in a new issue