Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpeng committed Mar 4, 2023
1 parent fe1f33a commit 5fce762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prometheus-playbook/version/file/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ PrometheusOperatorVersion=`cat components-version.txt |grep "PrometheusOperator
NAMESPACE=monitoring

######### Push images #########
for file in $(cat images-list.txt); do docker tag $file $MyImageRepositoryIP/$MyImageRepositoryProject/${file##*/}; done
for file in $(cat images-list.txt); do podman tag $file $MyImageRepositoryIP/$MyImageRepositoryProject/${file##*/}; done

echo 'Images taged.'

for file in $(cat images-list.txt); do docker push $MyImageRepositoryIP/$MyImageRepositoryProject/${file##*/}; done
for file in $(cat images-list.txt); do podman push $MyImageRepositoryIP/$MyImageRepositoryProject/${file##*/}; done

echo 'Images pushed.'
######### Update deploy yaml files #########
Expand Down

0 comments on commit 5fce762

Please sign in to comment.