From 30926b514a44bb01075f1c3809328d33bed044d7 Mon Sep 17 00:00:00 2001 From: MatBureau <86561676+MatBureau@users.noreply.github.com> Date: Wed, 1 Apr 2026 15:02:01 +0200 Subject: [PATCH] ci: add build and push pipeline --- .gitea/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..00adf8c --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,27 @@ +name: Build and Push Inventory + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Login to Harbor + uses: docker/login-action@v3 + with: + registry: harbor.reveal07.evoliatis.eu + username: admin + password: ${{ secrets.HARBOR_PASSWORD }} + + - name: Build and Push + uses: docker/build-push-action@v5 + with: + context: ./inventory + push: true + tags: harbor.reveal07.evoliatis.eu/inventory/inventory:latest \ No newline at end of file