27 lines
681 B
YAML
27 lines
681 B
YAML
name: ci-workflow
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: docker
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Docker meta
|
|
uses: docker/metadata-action@v5
|
|
id: meta
|
|
with:
|
|
images: richardrobertreitz/fibonacci_go
|
|
|
|
- name: Build
|
|
uses: https://codeberg.org/umglurf/kaniko-action@main
|
|
with:
|
|
credentials: |
|
|
forgejo.edf-bootstrap.cx.fg1.ffm.osc.live=${{ secrets.PACKAGES_USER }}:${{ secrets.PACKAGES_TOKEN }}
|
|
destinations: |
|
|
${{ steps.meta.outputs.tags }}
|
|
# push: ${{ github.event_name != 'pull_request' }}
|
|
push: 'true'
|