This commit is contained in:
parent
7e5b0847c9
commit
f23a6b672b
@ -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 <<EOF >> .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
|
||||
|
Loading…
Reference in New Issue
Block a user