Skip to content
Snippets Groups Projects
Commit 8d3600a9 authored by Jonas Leder's avatar Jonas Leder
Browse files

fix registry url detect

parent 7bcaecf2
Loading
...@@ -20,7 +20,7 @@ steps: ...@@ -20,7 +20,7 @@ steps:
image: archlinux image: archlinux
commands: commands:
- 'echo "Repo: $DRONE_REPO"' - 'echo "Repo: $DRONE_REPO"'
- registry_image=$(echo "$DRONE_REPO" | awk -F "://" '{print $2}') - registry_image=$(echo "$DRONE_GIT_HTTP_URL" | awk -F "://" '{print $2}')
- registry_domain=$(echo "$registry_image" | awk -F "/" '{print $1}') - registry_domain=$(echo "$registry_image" | awk -F "/" '{print $1}')
- echo "registry_image=$registry_image" >> .env - echo "registry_image=$registry_image" >> .env
- echo "registry_domain=$registry_domain" >> .env - echo "registry_domain=$registry_domain" >> .env
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment