diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d3791ed02eb6d4c8cddd67e639e5cb55298d15e6..0e27f0dd53e890bce11dec4e95ec2952a997c239 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -112,7 +112,10 @@ workflow:
         docker tag "${latest_image_name}" "usgs/${CI_PROJECT_NAME}:${ENVIRONMENT}-latest";
         docker push "usgs/${CI_PROJECT_NAME}:${ENVIRONMENT}-latest";
 
-        if [[ ${CI_COMMIT_REF_SLUG} == "${CI_DEFAULT_BRANCH}" ]]; then
+        if [[
+          ${CI_COMMIT_REF_SLUG} == "${CI_DEFAULT_BRANCH}" &&
+          "${CI_PROJECT_PATH}" == "${UPSTREAM_PATH}"
+        ]]; then
           docker tag \
               "usgs/${CI_PROJECT_NAME}:${ENVIRONMENT}-latest" \
               "usgs/${CI_PROJECT_NAME}:latest";