From 976defa902c256b6d4ed4f8f44b041ff58bc7fef Mon Sep 17 00:00:00 2001 From: Sheldan <5037282+Sheldan@users.noreply.github.com> Date: Sat, 16 Aug 2025 13:10:10 +0200 Subject: [PATCH] [OPB-xxx] adding docker and helm build to build job --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 23c0545..b6c2bbe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,3 +31,23 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} user: Sheldan token: ${{ secrets.ABSTRACTO_PAT }} + - name: Login to Harbor + uses: docker/login-action@v3 + with: + registry: harbor.sheldan.dev + username: ${{ secrets.HARBOR_USERNAME }} + password: ${{ secrets.HARBOR_TOKEN }} + - name: Load env file + id: dotenv + uses: falti/dotenv-action@v1.0.4 + with: + path: .env + - name: Docker build + run: docker compose build + env: + REGISTRY_PREFIX: ${{ steps.dotenv.outputs.registry_prefix }} + VERSION: ${{ steps.dotenv.outputs.version }} + - name: Helm package and push + working-directory: ./deployment/helm/ + run: |- + helm package oneplus-bot \ No newline at end of file