diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e3701cd..439055f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -33,6 +33,7 @@ jobs: # doesn't work with plain token when pushing otherwise - name: Login to xpkg with robot + if: env.UP_API_TOKEN != '' && env.UP_ROBOT_ID != '' uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4 with: registry: ${{ env.XPKG_REGISTRY }} diff --git a/tests/test-cluster/main.k b/tests/test-cluster/main.k index 4a15bc4..d504db8 100644 --- a/tests/test-cluster/main.k +++ b/tests/test-cluster/main.k @@ -217,6 +217,7 @@ _items = [ gcpv1alpha1.GKE{ metadata = { name = "composite-cluster-gke" + namespace = "default" annotations = { "crossplane.io/composition-resource-name" = "composite-cluster-gke" }