From 3006eb57d8ac6ea117e20476a219dbe1c6a0604c Mon Sep 17 00:00:00 2001 From: Jaydin_MacBook Date: Sun, 7 Jan 2024 17:49:11 -0500 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index f4c6a9c..e0b1019 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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) @@ -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)