Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KrishDave1 authored Nov 16, 2024
1 parent 2373f3b commit a14ff4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- name: Build and Push Docker Image
run: |
IMAGE_NAME=${{ secrets.DOCKER_IMAGE_NAME }}:latest
IMAGE_NAME=${{ secrets.DOCKER_USERNAME }}/repository-name:latest
docker build \
--build-arg UPSTASH_REDIS_REST_URL=${{ secrets.UPSTASH_REDIS_REST_URL }} \
--build-arg UPSTASH_REDIS_REST_TOKEN=${{ secrets.UPSTASH_REDIS_REST_TOKEN }} \
Expand All @@ -73,7 +73,6 @@ jobs:
--build-arg NEXTAUTH_URL=${{ secrets.NEXTAUTH_URL }} \
-t $IMAGE_NAME .
docker push $IMAGE_NAME
IMAGE_NAME=***:latest
deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit a14ff4e

Please sign in to comment.