diff --git a/.github/workflows/deploy_dockerhub.yaml b/.github/workflows/deploy_dockerhub.yaml index 2d8a1a0..0ed04de 100644 --- a/.github/workflows/deploy_dockerhub.yaml +++ b/.github/workflows/deploy_dockerhub.yaml @@ -33,9 +33,19 @@ jobs: images: manulera/shareyourcloning - name: Build and push Docker image - uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc + uses: docker/build-push-action@v6 with: context: . push: true tags: manulera/shareyourcloning:latest labels: ${{ steps.meta.outputs.labels }} + + - name: Build and push Docker image + uses: docker/build-push-action@v6.9.0 + with: + context: . + push: true + tags: manulera/shareyourcloning:syc-base + labels: ${{ steps.meta.outputs.labels }} + build-args: | + FRONTEND_TAG=syc-base diff --git a/Dockerfile b/Dockerfile index a40a050..5d603bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ -FROM manulera/shareyourcloningfrontend AS frontend +ARG FRONTEND_TAG="latest" + +FROM manulera/shareyourcloningfrontend:${FRONTEND_TAG} AS frontend FROM manulera/shareyourcloningbackend AS backend WORKDIR /home/backend