action-runner-demo/.forgejo/workflows/demo.yaml

20 lines
568 B
YAML
Raw Normal View History

2024-06-25 13:12:02 +00:00
on:
push:
pull_request:
types: [opened, synchronize, reopened]
2024-06-25 07:27:52 +00:00
jobs:
test:
runs-on: ubuntu-22.04
2024-06-25 07:27:52 +00:00
steps:
2024-06-25 13:12:02 +00:00
- uses: https://code.forgejo.org/actions/checkout@v4
- uses: https://github.com/actions/setup-go@v5
with:
go-version: '1.22.4'
- uses: https://github.com/ko-build/setup-ko@v0.7
with:
version: v0.15.4
2024-06-28 09:25:18 +00:00
- run: ko login platform.sunet.se --username ci-sunet-cdn --password ${{ secrets.CI_SUNET_CDN }}
2024-06-27 13:31:38 +00:00
- run: ko build
2024-06-25 13:12:02 +00:00
env:
2024-06-27 13:21:02 +00:00
KO_DOCKER_REPO: platform.sunet.se/sunet-cdn