Files
ha-addon-energa-meter-gh-fork/.gitea/workflows/build-push-container.yaml
Tomasz Torcz 95e856f5f7
Some checks failed
Build and push container / Container-Build (push) Failing after 2m12s
try another kaniko builder
2024-07-28 14:26:07 +02:00

25 lines
560 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 }}
uses: bymarshall/kaniko-action@main
with:
image: ha-addon-energa-meter
tag: ${{ gitea.ref }}
registry: pipebreaker.pl:5000
file: Containerfile
context: src/
debug_mode: true