Skip to content

Commit

Permalink
test: debug edit_dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
andhreljaKern committed Dec 13, 2024
1 parent dfd4c70 commit 524c2ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pi/edit_dockerfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ grep "${DOCKER_REGISTRY}/${PARENT_IMAGE_NAME}" $DOCKERFILE | while read -r line
PI_EXISTING_IMAGE="${DOCKER_REGISTRY}/${PARENT_IMAGE_NAME}:${PI_EXISTING_TAG}"
PI_NEW_IMAGE="${DOCKER_REGISTRY}/${PARENT_IMAGE_NAME}:${RELEASE_TAG}-${PARENT_IMAGE_TYPE}"

echoi "PI_EXISTING_TAG = $PI_EXISTING_TAG"
echoi "PI_EXISTING_IMAGE = $PI_EXISTING_IMAGE"
echoi "PI_NEW_IMAGE = $PI_NEW_IMAGE"
echo "PI_EXISTING_TAG = $PI_EXISTING_TAG"
echo "PI_EXISTING_IMAGE = $PI_EXISTING_IMAGE"
echo "PI_NEW_IMAGE = $PI_NEW_IMAGE"

sed "s|${PI_EXISTING_IMAGE}|${PI_NEW_IMAGE}|g" ${DOCKERFILE} > ${DOCKERFILE}.tmp && mv ${DOCKERFILE}.tmp ${DOCKERFILE}
done
Expand Down

0 comments on commit 524c2ea

Please sign in to comment.