This commit is contained in:
@@ -4,17 +4,20 @@ run-name: Container creation
|
|||||||
# change later for only tags
|
# change later for only tags
|
||||||
on: [tag push]
|
on: [tag push]
|
||||||
jobs:
|
jobs:
|
||||||
- name: Get the code
|
Container-Build:
|
||||||
uses: actions/checkout@v4
|
runs-on: ubuntu-latest
|
||||||
with:
|
steps:
|
||||||
sparse-checkout: |
|
- name: Get the code
|
||||||
src
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
sparse-checkout: |
|
||||||
|
src
|
||||||
|
|
||||||
- name: Build & push image ${{ gitea.ref_name }}
|
- name: Build & push image ${{ gitea.ref_name }}
|
||||||
uses: https://code.thetadev.de/ThetaDev/action-kaniko@v1
|
uses: https://code.thetadev.de/ThetaDev/action-kaniko@v1
|
||||||
with:
|
with:
|
||||||
image: ha-addon-energa-meter:${{ gitea.ref_name }}
|
image: ha-addon-energa-meter:${{ gitea.ref_name }}
|
||||||
registry: pipebreaker.pl:5000
|
registry: pipebreaker.pl:5000
|
||||||
build_file: Containerfile
|
build_file: Containerfile
|
||||||
path: src/
|
path: src/
|
||||||
debug: true
|
debug: true
|
||||||
|
|||||||
Reference in New Issue
Block a user