Skip to content

Commit

Permalink
Merge pull request #3 from nheek/nheek
Browse files Browse the repository at this point in the history
moved to reg.nheek.com for docker registry
  • Loading branch information
nheek authored Nov 14, 2024
2 parents faa611e + 21ee5c7 commit 4699508
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ jobs:
echo "POSTGRES_USER=${{ secrets.POSTGRES_USER }}" >> .env
echo "POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }}" >> .env
echo "POSTGRES_URL=${{ secrets.POSTGRES_URL }}" >> .env
echo "DOCKERHUB_USERNAME=${{ secrets.DOCKERHUB_USERNAME }}" >> .env
echo "JWT_SECRET=${{ secrets.JWT_SECRET }}" >> .env
echo "DOMAIN=${{ secrets.DOMAIN }}" >> .env
- name: Build and Push Docker Images
run: |
echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
echo "${{ secrets.REG_PASSWORD }}" | docker login ${{ secrets.REG_REGISTRY }} -u ${{ secrets.REG_USERNAME }} --password-stdin
docker compose build
docker compose push
Expand All @@ -48,7 +47,6 @@ jobs:
echo "POSTGRES_USER=${{ secrets.POSTGRES_USER }}" >> .env
echo "POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }}" >> .env
echo "POSTGRES_URL=${{ secrets.POSTGRES_URL }}" >> .env
echo "DOCKERHUB_USERNAME=${{ secrets.DOCKERHUB_USERNAME }}" >> .env
echo "JWT_SECRET=${{ secrets.JWT_SECRET }}" >> .env
echo "DOMAIN=${{ secrets.DOMAIN }}" >> .env
curl -O -L https://raw.githubusercontent.com/nheek/uppy/main/Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- postgres
env_file:
- .env
image: "nheek/uppy:latest"
image: "reg.nheek.com/nheek/uppy:latest"
volumes:
- uploads:/usr/src/app/public/uploads

Expand Down

0 comments on commit 4699508

Please sign in to comment.