fix: invalid image name
This commit is contained in:
parent
eff830f1db
commit
5e10f308a6
@ -19,8 +19,7 @@ jobs:
|
|||||||
REGISTRY="$(sed 's .*:// ' <<< ${{ gitea.server_url }})"
|
REGISTRY="$(sed 's .*:// ' <<< ${{ gitea.server_url }})"
|
||||||
cat <<EOF >> .env
|
cat <<EOF >> .env
|
||||||
BASE_URL="$BASE_URL"
|
BASE_URL="$BASE_URL"
|
||||||
REGISTRY="$REGISTRY"
|
IMAGEAPP="$REGISTRY/$(printf '%s' "${{ gitea.repository }}:${{ gitea.ref_name }}" | tr '[:upper:]' '[:lower:]' | tr -c '[:lower:][:digit:]-/:_' _)"
|
||||||
IMAGEAPP="$REGISTRY/${{ gitea.repository }}:${{ gitea.ref_name }}"
|
|
||||||
EOF
|
EOF
|
||||||
cat .env
|
cat .env
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user