diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 2836cc8..380f6be 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -13,16 +13,16 @@ jobs: else BASE_URL="${{ gitea.ref_name }}.$(tr / '\n' <<< "${{ gitea.repository }}" | tac | tr '\n' .)k8s.gmoker.com" fi + REGISTRY="$(sed 's .*:// ' <<< ${{ gitea.server_url }})" cat <> .env BASE_URL="$BASE_URL" - REGISTRY="$(sed 's .*:// ' <<< ${{ gitea.server_url }})" + REGISTRY="$REGISTRY" IMAGEAPP="$REGISTRY/${{ gitea.repository }}:${{ gitea.ref_name }}" EOF cat .env - uses: actions/kaniko@v1 with: - dockerfile: debian/Dockerfile password: "${{ secrets.PKGRW }}" - uses: actions/k8sdeploy@v1