Skip to content

Commit

Permalink
Update common.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaSBrown authored Jan 9, 2025
1 parent 680c41e commit a8a6a47
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .gitlab/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,8 @@
stage: log
script:
- BRANCH_LOWER=$(echo "$CI_COMMIT_REF_NAME" | tr '[:upper:]' '[:lower:]')
- echo "Lower branch is $BRANCH_LOWER"
- export FULL_IMAGE_NAME="${REGISTRY}/${PROJECT}/${COMPONENT}-${BRANCH_LOWER}"
- echo "Full image name is $FULL_IMAGE_NAME"
- export ANCESTORS=$(docker ps -a --filter "ancestor=${FULL_IMAGE_NAME}" --format "{{.Names}}")
- echo "Found Ancestors"
- echo "$ANCESTORS"
- export ANCESTOR_CONTAINERS=$(docker ps -a --filter "ancestor=${FULL_IMAGE_NAME}" --format "{{.Names}}")
- echo "${ANCESTOR_CONTAINERS}"
# It is possible to return more than one container with the same ancestor
Expand Down

0 comments on commit a8a6a47

Please sign in to comment.