diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 072a1e1..2836cc8 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -15,10 +15,17 @@ jobs: fi cat <> .env BASE_URL="$BASE_URL" - REF_NAME="${{ gitea.ref_name }}" + REGISTRY="$(sed 's .*:// ' <<< ${{ gitea.server_url }})" + 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 with: kubeconfig: "${{ secrets.K8S }}" + registry_password: "${{ secrets.PKGRW }}"