This commit is contained in:
parent
7e5b0847c9
commit
f23a6b672b
@ -13,16 +13,16 @@ jobs:
|
|||||||
else
|
else
|
||||||
BASE_URL="${{ gitea.ref_name }}.$(tr / '\n' <<< "${{ gitea.repository }}" | tac | tr '\n' .)k8s.gmoker.com"
|
BASE_URL="${{ gitea.ref_name }}.$(tr / '\n' <<< "${{ gitea.repository }}" | tac | tr '\n' .)k8s.gmoker.com"
|
||||||
fi
|
fi
|
||||||
|
REGISTRY="$(sed 's .*:// ' <<< ${{ gitea.server_url }})"
|
||||||
cat <<EOF >> .env
|
cat <<EOF >> .env
|
||||||
BASE_URL="$BASE_URL"
|
BASE_URL="$BASE_URL"
|
||||||
REGISTRY="$(sed 's .*:// ' <<< ${{ gitea.server_url }})"
|
REGISTRY="$REGISTRY"
|
||||||
IMAGEAPP="$REGISTRY/${{ gitea.repository }}:${{ gitea.ref_name }}"
|
IMAGEAPP="$REGISTRY/${{ gitea.repository }}:${{ gitea.ref_name }}"
|
||||||
EOF
|
EOF
|
||||||
cat .env
|
cat .env
|
||||||
|
|
||||||
- uses: actions/kaniko@v1
|
- uses: actions/kaniko@v1
|
||||||
with:
|
with:
|
||||||
dockerfile: debian/Dockerfile
|
|
||||||
password: "${{ secrets.PKGRW }}"
|
password: "${{ secrets.PKGRW }}"
|
||||||
|
|
||||||
- uses: actions/k8sdeploy@v1
|
- uses: actions/k8sdeploy@v1
|
||||||
|
Loading…
Reference in New Issue
Block a user