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