1
0
Fork 0
git-sv/.forgejo/workflows/release.yaml

29 lines
632 B
YAML
Raw Normal View History

2024-11-09 15:22:38 +00:00
---
name: Release
on:
workflow_dispatch:
push:
branches: [ "master" ]
release:
types: [ "published" ]
jobs:
build-image:
runs-on: flakes-action
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and push
uses: https://code.252.no/tommy/kaniko-action@latest
with:
cache: false
context: /workspace/${{ github.repository }}
2024-11-09 15:24:12 +00:00
docker_file: Containerfile.multiarch
2024-11-09 15:22:38 +00:00
credentials: |
code.252.no=${{ github.repository_owner }}:${{ secrets.REGISTRY_TOKEN }}
destinations: "code.252.no/tommy/git-sv:latest"
push: 'true'