Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheManWhoLikesToCode committed Jan 7, 2024
1 parent b46476f commit 3006eb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
path: 'backend'
- name: Build and push the Docker image for backend
run: |
docker build ${{ github.workspace }}/backend -t themanwholikestocode/archive-me-prod:backend-$(date +%s)
docker build /backend -t themanwholikestocode/archive-me-prod:backend-$(date +%s)
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker push themanwholikestocode/archive-me-prod:backend-$(date +%s)
Expand All @@ -32,6 +32,6 @@ jobs:
path: 'frontend'
- name: Build and push the Docker image for frontend
run: |
docker build ${{ github.workspace }}/frontend -t themanwholikestocode/archive-me-prod:frontend-$(date +%s)
docker build /frontend -t themanwholikestocode/archive-me-prod:frontend-$(date +%s)
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker push themanwholikestocode/archive-me-prod:frontend-$(date +%s)

0 comments on commit 3006eb5

Please sign in to comment.