rpm-build/.forgejo/workflows/build.yml
Carlos Mogas da Silva 870d00529e
All checks were successful
Build docker image / build-and-publish (push) Successful in 4m29s
Use the actual user who commited to push
2024-12-03 22:52:02 +00:00

22 lines
527 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.actor }}:${{ secrets.PUBLISH_TOKEN }}
destinations: |
code.r3pek.org/${{ github.repository }}:latest
push: true