Files
ha-addon-energa-meter-gh-fork/.gitea/workflows/build-push-container.yaml
Tomasz Torcz 399cce6a2e
Some checks failed
Build and push container / Container-Build (push) Failing after 2m5s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 39s
push only
2024-07-27 15:56:19 +02:00

24 lines
576 B
YAML

---
name: Build and push container
run-name: Container creation
# change later for only tags
on: [push]
jobs:
Container-Build:
runs-on: ubuntu-latest
steps:
- name: Get the code
uses: actions/checkout@v4
with:
sparse-checkout: |
src
- name: Build & push image ${{ gitea.ref_name }}
uses: https://code.thetadev.de/ThetaDev/action-kaniko@v1
with:
image: ha-addon-energa-meter:${{ gitea.ref_name }}
registry: pipebreaker.pl:5000
build_file: Containerfile
path: src/
debug: true