Files
ha-addon-energa-meter-gh-fork/.gitea/workflows/build-push-container.yaml
Tomasz Torcz 94be339a0a
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 50s
indents from hell
2024-07-27 15:53:17 +02:00

24 lines
580 B
YAML

---
name: Build and push container
run-name: Container creation
# change later for only tags
on: [tag 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