cleanup: remove obsolete scripts and update GitHub Actions for Quay.io
- Remove obsolete deployment scripts outside /scripts folder - Remove redundant scripts inside /scripts folder - Remove release.sh as it won't be used in the process - Update GitHub Actions to use Quay.io instead of Docker Hub - Update registry references from andersonid to quay.io/rh_ee_anobre - Simplify deployment instructions to use deploy-complete.sh - Clean up codebase to maintain only essential scripts
This commit is contained in:
13
.github/workflows/build-only.yml
vendored
13
.github/workflows/build-only.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Build and Push Image to Docker Hub
|
||||
name: Build and Push Image to Quay.io
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -15,7 +15,7 @@ on:
|
||||
|
||||
env:
|
||||
IMAGE_NAME: resource-governance
|
||||
REGISTRY: andersonid
|
||||
REGISTRY: quay.io/rh_ee_anobre
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
@@ -41,9 +41,9 @@ jobs:
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y -qq podman buildah skopeo
|
||||
|
||||
- name: Login to Docker Hub
|
||||
- name: Login to Quay.io
|
||||
run: |
|
||||
echo "${{ secrets.DOCKERHUB_TOKEN }}" | podman login docker.io -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
|
||||
echo "${{ secrets.QUAY_TOKEN }}" | podman login quay.io -u ${{ secrets.QUAY_USERNAME }} --password-stdin
|
||||
|
||||
- name: Determine image tags
|
||||
id: tags
|
||||
@@ -113,10 +113,9 @@ jobs:
|
||||
echo ""
|
||||
echo "🔧 To deploy to your OpenShift cluster:"
|
||||
echo "1. Clone this repository"
|
||||
echo "2. Run: ./deploy-to-cluster.sh ${{ steps.tags.outputs.image_tag }}"
|
||||
echo "3. Or use: ./deploy-zero-downtime.sh ${{ steps.tags.outputs.image_tag }}"
|
||||
echo "2. Run: ./scripts/deploy-complete.sh"
|
||||
echo ""
|
||||
echo "🐳 Docker Hub: https://hub.docker.com/r/${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}"
|
||||
echo "🐳 Quay.io: https://quay.io/repository/rh_ee_anobre/${{ env.IMAGE_NAME }}"
|
||||
|
||||
- name: Create GitHub Release (for tags)
|
||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
||||
|
||||
2
.github/workflows/deploy-to-openshift.yml
vendored
2
.github/workflows/deploy-to-openshift.yml
vendored
@@ -22,7 +22,7 @@ on:
|
||||
|
||||
env:
|
||||
IMAGE_NAME: resource-governance
|
||||
REGISTRY: andersonid
|
||||
REGISTRY: quay.io/rh_ee_anobre
|
||||
|
||||
jobs:
|
||||
deploy-to-openshift:
|
||||
|
||||
Reference in New Issue
Block a user