diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 06b6252..125435a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ include: - component: gitlab.com/$CI_PROJECT_PATH@$CI_COMMIT_SHA + component: gitlab.com/$CI_PROJECT_PATH/job@$CI_COMMIT_SHA stages: [test, release] diff --git a/README.md b/README.md index f7890a7..9541ac5 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ keyword. ```yaml include: - - component: gitlab.com/gitlab-components/secret-detection@ + - component: gitlab.com/gitlab-components/secret-detection/job@ ``` where `` is the latest released tag or `main`. @@ -22,7 +22,7 @@ If you are converting the configuration to use components and want to leverage t ```yaml include: - - component: gitlab.com/gitlab-components/secret-detection@main + - component: gitlab.com/gitlab-components/secret-detection/job@main rules: - if: $SECRET_DETECTION_DISABLED == "true" || $SECRET_DETECTION_DISABLED == "1" when: never diff --git a/template.yml b/templates/job.yml similarity index 100% rename from template.yml rename to templates/job.yml