Files
ha-addon-energa-meter-gh-fork/.gitea/workflows/build-push-container.yaml
Workflow config file is invalid. Please check your config file: yaml: line 21: mapping values are not allowed in this context
Tomasz Torcz 5069cfa039
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
fixes
2024-07-27 15:52:43 +02:00

24 lines
583 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