Compare commits

..

2 Commits

Author SHA1 Message Date
shaamilahmed 3c46cb7c5b fix: use secrets.REGISTRY_TOKEN for Gitea registry authentication
Production Deployment / Build and Push Docker Image (push) Failing after 17s
Production Deployment / Deploy to DigitalOcean Droplet (push) Has been skipped
Production Deployment / Deploy to Google Cloud Run (push) Has been skipped
2026-05-31 08:23:47 +05:00
shaamilahmed 6c5c85ec4c boop 2026-05-31 07:51:53 +05:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ jobs:
with: with:
registry: git.nciphered.com registry: git.nciphered.com
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and Push Image - name: Build and Push Image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
@@ -49,7 +49,7 @@ jobs:
key: ${{ secrets.DROPLET_SSH_KEY }} key: ${{ secrets.DROPLET_SSH_KEY }}
script: | script: |
# Authenticate with Gitea registry on Droplet # Authenticate with Gitea registry on Droplet
docker login -u "${{ github.actor }}" -p "${{ secrets.GITHUB_TOKEN }}" git.nciphered.com docker login -u "${{ github.actor }}" -p "${{ secrets.REGISTRY_TOKEN }}" git.nciphered.com
# Pull latest image # Pull latest image
docker pull git.nciphered.com/${{ github.repository }}:latest docker pull git.nciphered.com/${{ github.repository }}:latest
+1 -1
View File
@@ -219,7 +219,7 @@ docker build -t stick-app .
Run the container on your target Docker network, providing the connection details to your pre-existing MongoDB database container through environment variables: Run the container on your target Docker network, providing the connection details to your pre-existing MongoDB database container through environment variables:
```bash ```bash
docker run -d \ docker run -d \
--name stick-app-container \ --name stick-app \
--network your-docker-network \ --network your-docker-network \
-p 80:3007 \ -p 80:3007 \
-e DATABASE_URL="mongodb://your-mongodb-host:27017" \ -e DATABASE_URL="mongodb://your-mongodb-host:27017" \