Use external hostname for container registry push #22
@@ -30,6 +30,16 @@ jobs:
|
||||
|
||||
CREDS="${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_PASSWORD }}"
|
||||
|
||||
echo "=== debug: test v2 endpoint ==="
|
||||
curl -sk https://git.kimchi/v2/ || true
|
||||
echo ""
|
||||
echo "=== debug: test v2 auth ==="
|
||||
curl -sk -u "$CREDS" https://git.kimchi/v2/ || true
|
||||
echo ""
|
||||
echo "=== debug: test token endpoint ==="
|
||||
curl -sk -u "$CREDS" "https://git.kimchi/v2/token?scope=repository:tas/major_tom:push,pull&service=container_registry" || true
|
||||
echo ""
|
||||
|
||||
echo "=== buildah push tag ==="
|
||||
buildah push --tls-verify=false --creds "$CREDS" "$IMAGE_TAG"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user