Skip to content

Commit

Permalink
manual-publish - add '--pull-always' to be sure latest images from re…
Browse files Browse the repository at this point in the history
…mote repo gets pulled for build
  • Loading branch information
itewk committed Sep 25, 2020
1 parent 71c0734 commit 244ae02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manual-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build_tag_push() {
FROM_IMAGE_NAME=$2

echo BUILD: ${IMAGE_NAME}
podman build --build-arg FROM_IMAGE=${REGISTRY_URI}/${REGISTRY_REPOSITORY}/${FROM_IMAGE_NAME}:${IMAGE_VERSION} --tag ${IMAGE_NAME} ${IMAGE_NAME}
podman build --build-arg FROM_IMAGE=${REGISTRY_URI}/${REGISTRY_REPOSITORY}/${FROM_IMAGE_NAME}:${IMAGE_VERSION} --tag ${IMAGE_NAME} --pull-always ${IMAGE_NAME}

for IMAGE_TAG in ${IMAGE_TAGS}; do
FULL_TAG="${REGISTRY_URI}/${REGISTRY_REPOSITORY}/${IMAGE_NAME}:${IMAGE_TAG}"
Expand Down

0 comments on commit 244ae02

Please sign in to comment.