diff --git a/.gitea/workflows/build-backend.yml b/.gitea/workflows/build-backend.yml index 76bb0fb..9df509a 100644 --- a/.gitea/workflows/build-backend.yml +++ b/.gitea/workflows/build-backend.yml @@ -1,5 +1,5 @@ name: 'Deploy Backend' -run-name: '🚀 ${{ inputs.repo_path }} → ${{ inputs.namespace }} [${{ inputs.branch }}]' +run-name: '${{ inputs.repo_path }} → ${{ inputs.namespace }} [${{ inputs.branch }}]' on: workflow_dispatch: inputs: @@ -47,7 +47,7 @@ jobs: uses: https://git.binom.pw/otp/devops/clone@main with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - repository: ${{ github.event.inputs.repo_path }} + repository: "devspc/${{ github.event.inputs.repo_path }}" branch: ${{ github.event.inputs.branch }} - uses: https://git.binom.pw/otp/devops/config-gradle@main - uses: https://git.binom.pw/otp/devops/setup-gradle@main @@ -69,7 +69,7 @@ jobs: - name: Publishing docker uses: https://git.binom.pw/otp/devops/docker@main with: - image-name: "otp/${{ github.event.inputs.repo_path }}" + image-name: "otp/devspc/${{ github.event.inputs.repo_path }}" tags: ${{ github.event.inputs.version }} - name: Kuebrnetus config run: | @@ -83,7 +83,7 @@ jobs: path: 'helms' - name: Deploy run: | - pathToHelm='./helms/${{ github.event.inputs.repo_path }}' + pathToHelm='./helms/devspc/${{ github.event.inputs.repo_path }}' releaseName=$(basename "$pathToHelm") echo "Release Name: $releaseName" echo 'WORKSPACE: ${{ github.workspace }}' @@ -92,8 +92,8 @@ jobs: --kubeconfig ./ku.yaml \ --create-namespace \ --set-string 'image.version=${{ github.event.inputs.version }}' \ - --set-string 'image.name=images.binom.pw/otp/${{ github.event.inputs.repo_path }}' \ - --set-string 'repository.name=${{ github.event.inputs.repo_path }}' \ + --set-string 'image.name=images.binom.pw/otp/devspc/${{ github.event.inputs.repo_path }}' \ + --set-string 'repository.name=devspc/${{ github.event.inputs.repo_path }}' \ --set-string 'repository.branch=${{ github.event.inputs.branch }}' \ --set "imagePullSecrets[0].name=regcred" \ -f ./helms/devspc/stands/values.yaml \