diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 1517e6d..60045d4 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -20,14 +20,14 @@ jobs: - name: Checkout code shell: sh run: | - git clone https://gitea.leeworks.dev/${{ gitea.repository }}.git . + git clone https://gitea.gitea.svc.cluster.local/${{ gitea.repository }}.git . git checkout ${{ gitea.sha }} - name: Determine image tags id: tags shell: sh run: | - REGISTRY="gitea.leeworks.dev" + REGISTRY="gitea.gitea.svc.cluster.local" REPO_OWNER="${{ gitea.repository_owner }}" REPO_NAME="${{ gitea.repository }}" @@ -60,7 +60,7 @@ jobs: - name: Login to registry shell: sh run: | - echo "${{ secrets.PERSONAL_TOKEN }}" | docker login gitea.leeworks.dev -u "${{ gitea.actor }}" --password-stdin + echo "${{ secrets.PERSONAL_TOKEN }}" | docker login gitea.gitea.svc.cluster.local -u "${{ gitea.actor }}" --password-stdin - name: Build and push API image shell: sh @@ -90,14 +90,14 @@ jobs: - name: Checkout code shell: sh run: | - git clone https://gitea.leeworks.dev/${{ gitea.repository }}.git . + git clone https://gitea.gitea.svc.cluster.local/${{ gitea.repository }}.git . git checkout ${{ gitea.sha }} - name: Determine image tags id: tags shell: sh run: | - REGISTRY="gitea.leeworks.dev" + REGISTRY="gitea.gitea.svc.cluster.local" REPO_OWNER="${{ gitea.repository_owner }}" REPO_NAME="${{ gitea.repository }}" @@ -130,7 +130,7 @@ jobs: - name: Login to registry shell: sh run: | - echo "${{ secrets.PERSONAL_TOKEN }}" | docker login gitea.leeworks.dev -u "${{ gitea.actor }}" --password-stdin + echo "${{ secrets.PERSONAL_TOKEN }}" | docker login gitea.gitea.svc.cluster.local -u "${{ gitea.actor }}" --password-stdin - name: Build and push frontend image shell: sh