Skip to content

Commit

Permalink
Remove dockerhub images generation (#62)
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <[email protected]>
  • Loading branch information
JorTurFer authored Apr 4, 2022
1 parent ab1df5f commit ac6624e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions e2e/images/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,13 @@ then
for IMAGE_NAME in $(find * -name Dockerfile -exec dirname {} \; | tr '/' '-')
do
docker image push -a ghcr.io/kedacore/tests-$IMAGE_NAME
docker image push -a docker.io/kedacore/tests-$IMAGE_NAME
done
else
for IMAGE in $(find * -name Dockerfile)
do
IMAGE_NAME=$(dirname $IMAGE | tr '/' '-')
pushd $(dirname $IMAGE)
docker build -t docker.io/kedacore/tests-$IMAGE_NAME:$IMAGE_TAG -t docker.io/kedacore/tests-$IMAGE_NAME:latest .
docker tag docker.io/kedacore/tests-$IMAGE_NAME:$IMAGE_TAG ghcr.io/kedacore/tests-$IMAGE_NAME:$IMAGE_TAG
docker tag docker.io/kedacore/tests-$IMAGE_NAME:$IMAGE_TAG ghcr.io/kedacore/tests-$IMAGE_NAME:latest
docker build -t ghcr.io/kedacore/tests-$IMAGE_NAME:$IMAGE_TAG -t ghcr.io/kedacore/tests-$IMAGE_NAME:latest .
popd
done
fi

0 comments on commit ac6624e

Please sign in to comment.