Some checks failed
Build and push container / Container-Build (push) Failing after 2m12s
25 lines
560 B
YAML
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
|