diff --git a/.github/workflows/web-deploy.yml b/.github/workflows/web-deploy.yml index 007af53..475b379 100644 --- a/.github/workflows/web-deploy.yml +++ b/.github/workflows/web-deploy.yml @@ -26,16 +26,19 @@ jobs: - name: Login to Docker uses: docker/login-action@v3 with: + registry: docker.io username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Build Image and Push to Registry uses: docker/build-push-action@v6 with: context: . - file: Dockerfile + file: ./web/Dockerfile platforms: linux/amd64 push: true - tags: user/app:latest + tags: ${{ secrets.DOCKERHUB_USER }}/shiftsync:latest_web - name: Deploy to Coolify run: | curl --request GET '${{ secrets.COOLIFY_WEBHOOK }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'