Skip to content

Commit f40bf03

Browse files
committed
fix: edit Dockerfile file overwrite
1 parent fcfcf66 commit f40bf03

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pi/edit_dockerfile.sh

-1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,4 @@ PI_EXISTING_IMAGE="${DOCKER_REGISTRY}/${PARENT_IMAGE_NAME}:${PI_EXISTING_TAG}"
2424
PI_NEW_IMAGE="${DOCKER_REGISTRY}/${PARENT_IMAGE_NAME}:${RELEASE_TAG}-${PARENT_IMAGE_TYPE}"
2525

2626
sed -e 's|'${PI_EXISTING_IMAGE}'|'${PI_NEW_IMAGE}'|g' ${DOCKERFILE} > ${DOCKERFILE}.tmp && mv ${DOCKERFILE}.tmp ${DOCKERFILE}
27-
echo ${DOCKER_CONTENT} > ${DOCKERFILE}
2827
echo "::notice::Dockerfile updated with new image: ${PI_NEW_IMAGE}"

0 commit comments

Comments
 (0)