diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 6a4dc40fab..acd1520943 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -117,8 +117,8 @@ jobs: docker build -t "${LOCAL_IMAGE}" -f build/Dockerfile . docker push ${LOCAL_IMAGE} - # Make the Apache Snapshots repository enabled by efault - export KAMEL_INSTALL_MAVEN_REPOSITORIES=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots + # Make the Apache Snapshots or Apache Staging repository enabled by default + export KAMEL_INSTALL_MAVEN_REPOSITORIES=$(make get-staging-repo) echo "installing camel k cluster resources" ./kamel install --cluster-setup diff --git a/.github/workflows/knative.yml b/.github/workflows/knative.yml index 11974a7454..61ef9ae542 100644 --- a/.github/workflows/knative.yml +++ b/.github/workflows/knative.yml @@ -152,8 +152,8 @@ jobs: docker build -t "${LOCAL_IMAGE}" -f build/Dockerfile . docker push ${LOCAL_IMAGE} - # Make the Apache Snapshots repository enabled by efault - export KAMEL_INSTALL_MAVEN_REPOSITORIES=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots + # Make the Apache Snapshots or Apache Staging repository enabled by default + export KAMEL_INSTALL_MAVEN_REPOSITORIES=$(make get-staging-repo) echo "installing camel k cluster resources" ./kamel install --cluster-setup @@ -301,8 +301,8 @@ jobs: docker build -t "${LOCAL_IMAGE}" -f build/Dockerfile . docker push ${LOCAL_IMAGE} - # Make the Apache Snapshots repository enabled by efault - export KAMEL_INSTALL_MAVEN_REPOSITORIES=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots + # Make the Apache Snapshots or Apache Staging repository enabled by default + export KAMEL_INSTALL_MAVEN_REPOSITORIES=$(make get-staging-repo) echo "Making kamel global" sudo mv kamel /usr/local/bin/ diff --git a/.github/workflows/kubernetes.yml b/.github/workflows/kubernetes.yml index c9239447d4..a0037e8ccf 100644 --- a/.github/workflows/kubernetes.yml +++ b/.github/workflows/kubernetes.yml @@ -114,8 +114,8 @@ jobs: docker build -t "${LOCAL_IMAGE}" -f build/Dockerfile . docker push ${LOCAL_IMAGE} - # Make the Apache Snapshots repository enabled by efault - export KAMEL_INSTALL_MAVEN_REPOSITORIES=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots + # Make the Apache Snapshots or Apache Staging repository enabled by default + export KAMEL_INSTALL_MAVEN_REPOSITORIES=$(make get-staging-repo) echo "installing camel k cluster resources" ./kamel install --cluster-setup diff --git a/.github/workflows/openshift.yml b/.github/workflows/openshift.yml index 400d38aa3f..6e56e0a06a 100644 --- a/.github/workflows/openshift.yml +++ b/.github/workflows/openshift.yml @@ -141,8 +141,8 @@ jobs: export IMAGE=docker.io/apache/camel-k:$(make version) docker build -t "${IMAGE}" -f build/Dockerfile . - # Make the Apache Snapshots repository enabled by efault - export KAMEL_INSTALL_MAVEN_REPOSITORIES=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots + # Make the Apache Snapshots or Apache Staging repository enabled by default + export KAMEL_INSTALL_MAVEN_REPOSITORIES=$(make get-staging-repo) echo "installing camel k cluster resources" ./kamel install --cluster-setup