rpm-build/.forgejo/workflows/build.yml

23 lines
538 B
YAML
Raw Normal View History

name: Build docker image
on: [push]
jobs:
build-and-publish:
runs-on: ubuntu-22.04
env:
DOCKER_HOST: ${{ vars.DOCKER_HOST }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build & Publish
uses: https://codeberg.org/umglurf/kaniko-action@main
with:
credentials: |
code.r3pek.org=${{ github.repository_owner }}:${{ secrets.PUBLISH_TOKEN }}
destinations: |
code.r3pek.org/${{ github.repository }}:latest
push: true