rpm-build/.forgejo/workflows/build.yml
Carlos Mogas da Silva aa810b33e8
Some checks failed
Build docker image / build-and-publish (push) Failing after 37s
Initial try on an action to build RPM packages
2024-12-03 18:33:26 +00:00

22 lines
538 B
YAML

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