Compare commits

..

1 Commits

Author SHA1 Message Date
shaamilahmed 6ad77f7ef6 fix: enforce lowercase repository name for Docker tags
Production Deployment / Build and Push Docker Image (push) Successful in 30s
Production Deployment / Deploy to DigitalOcean Droplet (push) Successful in 18s
Production Deployment / Deploy to Google Cloud Run (push) Has been skipped
2026-05-31 08:24:31 +05:00
+5 -5
View File
@@ -30,8 +30,8 @@ jobs:
context: .
push: true
tags: |
git.nciphered.com/${{ github.repository }}:latest
git.nciphered.com/${{ github.repository }}:${{ github.sha }}
git.nciphered.com/shaamilahmed/htmx:latest
git.nciphered.com/shaamilahmed/htmx:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
@@ -52,7 +52,7 @@ jobs:
docker login -u "${{ github.actor }}" -p "${{ secrets.REGISTRY_TOKEN }}" git.nciphered.com
# Pull latest image
docker pull git.nciphered.com/${{ github.repository }}:latest
docker pull git.nciphered.com/shaamilahmed/htmx:latest
# Stop existing container
docker rm -f ${{ secrets.APP_CONTAINER_NAME }} || true
@@ -67,7 +67,7 @@ jobs:
-e HOST="0.0.0.0" \
-e PORT="${{ secrets.APP_PORT }}" \
--restart unless-stopped \
git.nciphered.com/${{ github.repository }}:latest
git.nciphered.com/shaamilahmed/htmx:latest
deploy-cloudrun:
@@ -94,7 +94,7 @@ jobs:
- name: Tag and Push Image to Artifact Registry
run: |
# Build/Tag for Google Artifact Registry
docker tag git.nciphered.com/${{ github.repository }}:latest asia-southeast1-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/stick/app:latest
docker tag git.nciphered.com/shaamilahmed/htmx:latest asia-southeast1-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/stick/app:latest
docker push asia-southeast1-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/stick/app:latest
- name: Deploy to Google Cloud Run