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