diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 744388d6..1ee15f2b 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -16,7 +16,6 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Docker Login uses: docker/login-action@v3.0.0 - - name: Log INTO Docker with: username: ${{ secrets.DOCKERHUBUSER }} password: ${{ secrets.DOCKERHUBAUTHKEY }} @@ -26,6 +25,13 @@ jobs: context: . file: ./reactjs/dockerfile-frontend load: true + tags: josev814/uncfsu_csc490_react:latest + cache-from: josev814/uncfsu_csc490_react:latest + - name: Docker React Push + uses: docker/build-push-action@v5.1.0 + with: + context: . + file: ./reactjs/dockerfile-frontend push: true tags: josev814/uncfsu_csc490_react:latest cache-from: josev814/uncfsu_csc490_react:latest @@ -35,6 +41,13 @@ jobs: context: . file: ./BuildTools/dockerfile-backend load: true + tags: josev814/uncfsu_csc490_django:latest + cache-from: josev814/uncfsu_csc490_django:latest + - name: Push the Docker Django image + uses: docker/build-push-action@v5.1.0 + with: + context: . + file: ./BuildTools/dockerfile-backend push: true tags: josev814/uncfsu_csc490_django:latest cache-from: josev814/uncfsu_csc490_django:latest