cleanup: remove all Docker Hub references and update to Quay.io

- Update deployment.yaml to reference Quay.io instead of Docker Hub
- Remove Docker Hub references from README.md
- Update build-and-push.sh to show Quay.io registry info
- Update release.sh to reference Quay.io repository
- Update push-to-internal-registry.sh to use Quay.io image
- Clean up all Docker Hub comments and references
- Registry is now exclusively Quay.io: quay.io/rh_ee_anobre/resource-governance
This commit is contained in:
2025-10-03 07:04:58 -03:00
parent c81ba36b26
commit 756cc43997
5 changed files with 17 additions and 16 deletions

View File

@@ -13,7 +13,7 @@ NC='\033[0m' # No Color
# Configurações
IMAGE_NAME="resource-governance"
TAG="${1:-latest}"
REGISTRY="${2:-andersonid}"
REGISTRY="${2:-quay.io/rh_ee_anobre}"
FULL_IMAGE_NAME="${REGISTRY}/${IMAGE_NAME}:${TAG}"
echo -e "${BLUE}🚀 Building and Pushing OpenShift Resource Governance Tool${NC}"
@@ -49,9 +49,9 @@ else
exit 1
fi
# Login no Docker Hub
echo -e "${YELLOW}🔐 Logging into Docker Hub...${NC}"
podman login docker.io
# Login no Quay.io
echo -e "${YELLOW}🔐 Logging into Quay.io...${NC}"
podman login -u="rh_ee_anobre+oru" -p="EJNIJD7FPO5IN33ZGQZ4OM8BIB3LICASBVRGOJCX4WP84Y0ZG5SMQLTZ0S6DOZEC" quay.io
if [ $? -eq 0 ]; then
echo -e "${GREEN}✅ Login successful!${NC}"
@@ -61,7 +61,7 @@ else
fi
# Push da imagem
echo -e "${YELLOW}📤 Pushing image to Docker Hub...${NC}"
echo -e "${YELLOW}📤 Pushing image to Quay.io...${NC}"
podman push "${FULL_IMAGE_NAME}"
if [ $? -eq 0 ]; then
@@ -76,5 +76,6 @@ echo -e "${BLUE}📊 Image information:${NC}"
podman images "${FULL_IMAGE_NAME}"
echo -e "${GREEN}🎉 Build and push completed successfully!${NC}"
echo -e "${BLUE}🌐 Image available at: https://hub.docker.com/r/${REGISTRY}/${IMAGE_NAME}${NC}"
echo -e "${BLUE}🌐 Image available at: https://quay.io/repository/${REGISTRY#quay.io/}/${IMAGE_NAME}${NC}"
echo -e "${BLUE}🚀 Ready for deployment!${NC}"
echo -e "${BLUE}📋 Registry: Quay.io (public repository)${NC}"

View File

@@ -35,7 +35,7 @@ echo -e "${BLUE}📦 Registry URL: $REGISTRY_URL${NC}"
# Tag da imagem
FULL_IMAGE_NAME="$REGISTRY_URL/$NAMESPACE/$IMAGE_NAME:$TAG"
echo -e "${YELLOW}🏷️ Criando tag: $FULL_IMAGE_NAME${NC}"
podman tag andersonid/resource-governance:simple $FULL_IMAGE_NAME
podman tag quay.io/rh_ee_anobre/resource-governance:latest $FULL_IMAGE_NAME
# Push da imagem
echo -e "${YELLOW}📤 Fazendo push da imagem...${NC}"

View File

@@ -120,11 +120,11 @@ create_release() {
echo ""
echo "Useful links:"
echo " GitHub: https://github.com/andersonid/openshift-resource-governance/releases/tag/$tag"
echo " Docker Hub: https://hub.docker.com/r/andersonid/resource-governance/tags"
echo " Quay.io: https://quay.io/repository/rh_ee_anobre/resource-governance"
echo ""
echo "GitHub Actions will automatically:"
echo " 1. Build Docker image"
echo " 2. Push to Docker Hub"
echo " 1. Build container image"
echo " 2. Push to Quay.io"
echo " 3. Create GitHub release"
echo ""
echo "Wait a few minutes and check:"