From 5069cfa0399fce79bccd6d913027458c496841af Mon Sep 17 00:00:00 2001 From: Tomasz Torcz Date: Sat, 27 Jul 2024 15:52:43 +0200 Subject: [PATCH] fixes --- .gitea/workflows/build-push-container.yaml | 29 ++++++++++++---------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/build-push-container.yaml b/.gitea/workflows/build-push-container.yaml index 3f1baaa..424c3db 100644 --- a/.gitea/workflows/build-push-container.yaml +++ b/.gitea/workflows/build-push-container.yaml @@ -4,17 +4,20 @@ run-name: Container creation # change later for only tags on: [tag push] jobs: - - name: Get the code - uses: actions/checkout@v4 - with: - sparse-checkout: | - src + 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 + - 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