From be1177a9a4ca936d568095c98d77e156ce4ee56e Mon Sep 17 00:00:00 2001 From: Nicholas Shavers <nshavers@contractor.usgs.gov> Date: Fri, 1 Nov 2024 09:41:30 -0700 Subject: [PATCH] refresh staled branch --- .gitlab-ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 50688ce4..5c3fcbb4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -210,16 +210,11 @@ Build Docker Image: # fail HIGH,CRITICAL vulnerabilities - trivy image --exit-code 1 --severity HIGH,CRITICAL "${LOCAL_IMAGE}"; - ## push image to project registry only - # - if [ "${CI_PROJECT_PATH}" != "${UPSTREAM_PATH}" ]; then - # echo "Skipping push on non-upstream (${CI_PROJECT_PATH})"; - # exit 0; - # fi - ## push image to user or project registries - echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin - docker tag "${LOCAL_IMAGE}" "${PROJECT_IMAGE_NAME}"; - docker push "${PROJECT_IMAGE_NAME}"; + stage: integration tags: # TODO: refactor to separate build/publish steps -- GitLab