feat: docker build
Some checks failed
/ deploy (push) Failing after 13s

This commit is contained in:
ange 2024-08-17 23:04:26 +07:00
parent c245e46383
commit 7e5b0847c9
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -15,10 +15,17 @@ jobs:
fi fi
cat <<EOF >> .env cat <<EOF >> .env
BASE_URL="$BASE_URL" BASE_URL="$BASE_URL"
REF_NAME="${{ gitea.ref_name }}" REGISTRY="$(sed 's .*:// ' <<< ${{ gitea.server_url }})"
IMAGEAPP="$REGISTRY/${{ gitea.repository }}:${{ gitea.ref_name }}"
EOF EOF
cat .env cat .env
- uses: actions/kaniko@v1
with:
dockerfile: debian/Dockerfile
password: "${{ secrets.PKGRW }}"
- uses: actions/k8sdeploy@v1 - uses: actions/k8sdeploy@v1
with: with:
kubeconfig: "${{ secrets.K8S }}" kubeconfig: "${{ secrets.K8S }}"
registry_password: "${{ secrets.PKGRW }}"