26 lines
735 B
YAML
26 lines
735 B
YAML
name: ci-workflow
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: docker
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Debug
|
|
run: |
|
|
echo 1 test 2 ${{ secrets.PACKAGES_USER }} 3 ${{ secrets.REPO_USER }} 4
|
|
|
|
- name: Build
|
|
uses: https://codeberg.org/umglurf/kaniko-action@main
|
|
with:
|
|
cache: true
|
|
cache_repo: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go/cache
|
|
credentials: |
|
|
forgejo.edf-bootstrap.cx.fg1.ffm.osc.live=${{ secrets.PACKAGES_USER }}:${{ secrets.PACKAGES_TOKEN }}
|
|
destinations: |
|
|
forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go:1.2.3
|
|
push: 'true'
|