diff --git a/.github/workflows/prod-deploy-api.yml b/.github/workflows/prod-deploy-api.yml index c502d4d3ab1..f7f7d303bc7 100644 --- a/.github/workflows/prod-deploy-api.yml +++ b/.github/workflows/prod-deploy-api.yml @@ -89,7 +89,7 @@ jobs: DOCKER_BUILD_ARGUMENTS: > --cache-from type=registry,ref=ghcr.io/novuhq/cache:build-cache-${{ env.SERVICE_NAME }}-prod --cache-to type=registry,ref=ghcr.io/novuhq/cache:build-cache-${{ env.SERVICE_NAME }}-prod,mode=max - --platform=linux/amd64,linux/arm64 --provenance=false + --platform=linux/amd64 --output=type=image,name=ghcr.io/novuhq/${{ matrix.name }},push-by-digest=true,name-canonical=true run: | echo $GH_PASSWORD | docker login ghcr.io -u $GH_ACTOR --password-stdin diff --git a/.github/workflows/prod-deploy-inbound-mail.yml b/.github/workflows/prod-deploy-inbound-mail.yml index 681785a2ab7..e3903fad4bf 100644 --- a/.github/workflows/prod-deploy-inbound-mail.yml +++ b/.github/workflows/prod-deploy-inbound-mail.yml @@ -79,7 +79,7 @@ jobs: DOCKER_BUILD_ARGUMENTS: > --cache-from type=registry,ref=ghcr.io/novuhq/cache:build-cache-${{ env.SERVICE_NAME }}-prod --cache-to type=registry,ref=ghcr.io/novuhq/cache:build-cache-${{ env.SERVICE_NAME }}-prod,mode=max - --platform=linux/amd64,linux/arm64 --provenance=false + --platform=linux/amd64 --output=type=image,name=ghcr.io/novuhq/${{ matrix.name }},push-by-digest=true,name-canonical=true run: | echo $GH_PASSWORD | docker login ghcr.io -u $GH_ACTOR --password-stdin diff --git a/.github/workflows/prod-deploy-worker.yml b/.github/workflows/prod-deploy-worker.yml index cd29714f02a..42e7899638c 100644 --- a/.github/workflows/prod-deploy-worker.yml +++ b/.github/workflows/prod-deploy-worker.yml @@ -89,7 +89,7 @@ jobs: DOCKER_BUILD_ARGUMENTS: > --cache-from type=registry,ref=ghcr.io/novuhq/cache:build-cache-${{ env.SERVICE_NAME }}-prod --cache-to type=registry,ref=ghcr.io/novuhq/cache:build-cache-${{ env.SERVICE_NAME }}-prod,mode=max - --platform=linux/amd64,linux/arm64 --provenance=false + --platform=linux/amd64 --output=type=image,name=ghcr.io/novuhq/${{ matrix.name }},push-by-digest=true,name-canonical=true run: | echo $GH_PASSWORD | docker login ghcr.io -u $GH_ACTOR --password-stdin diff --git a/.github/workflows/prod-deploy-ws.yml b/.github/workflows/prod-deploy-ws.yml index 1b8e527e397..f064ef5246e 100644 --- a/.github/workflows/prod-deploy-ws.yml +++ b/.github/workflows/prod-deploy-ws.yml @@ -83,7 +83,7 @@ jobs: DOCKER_BUILD_ARGUMENTS: > --cache-from type=registry,ref=ghcr.io/novuhq/cache:build-cache-${{ env.SERVICE_NAME }}-prod --cache-to type=registry,ref=ghcr.io/novuhq/cache:build-cache-${{ env.SERVICE_NAME }}-prod,mode=max - --platform=linux/amd64,linux/arm64 --provenance=false + --platform=linux/amd64 --output=type=image,name=ghcr.io/novuhq/${{ matrix.name }},push-by-digest=true,name-canonical=true run: | echo $GH_PASSWORD | docker login ghcr.io -u $GH_ACTOR --password-stdin diff --git a/.github/workflows/reusable-docker.yml b/.github/workflows/reusable-docker.yml index 2f5feb56e22..df8419abcde 100644 --- a/.github/workflows/reusable-docker.yml +++ b/.github/workflows/reusable-docker.yml @@ -137,7 +137,7 @@ jobs: DOCKER_BUILD_ARGUMENTS: > --cache-from type=registry,ref=ghcr.io/novuhq/cache:build-cache-${{ env.SERVICE_NAME }}-${{ inputs.env_tag }} --cache-to type=registry,ref=ghcr.io/novuhq/cache:build-cache-${{ env.SERVICE_NAME }}-${{ inputs.env_tag }},mode=max - --platform=linux/amd64,linux/arm64 --provenance=false + --platform=linux/amd64 --output=type=image,name=ghcr.io/novuhq/${{ matrix.name }},push-by-digest=true,name-canonical=true run: | echo $GH_PASSWORD | docker login ghcr.io -u $GH_ACTOR --password-stdin diff --git a/apps/inbound-mail/package.json b/apps/inbound-mail/package.json index f5320150ab8..5d63c183278 100644 --- a/apps/inbound-mail/package.json +++ b/apps/inbound-mail/package.json @@ -8,7 +8,7 @@ "scripts": { "prebuild": "rimraf dist", "build": "tsc -p tsconfig.json", - "docker:build": "pnpm --silent --workspace-root pnpm-context -- apps/inbound-mail/Dockerfile | BULL_MQ_PRO_NPM_TOKEN=${BULL_MQ_PRO_NPM_TOKEN} docker build --secret id=BULL_MQ_PRO_NPM_TOKEN --build-arg PACKAGE_PATH=apps/inbound-mail --load --platform=linux/amd64,linux/arm64 --provenance=false -t novu-inbound-mail -", + "docker:build": "pnpm --silent --workspace-root pnpm-context -- apps/inbound-mail/Dockerfile | BULL_MQ_PRO_NPM_TOKEN=${BULL_MQ_PRO_NPM_TOKEN} docker build --secret id=BULL_MQ_PRO_NPM_TOKEN --build-arg PACKAGE_PATH=apps/inbound-mail --load -t novu-inbound-mail - $DOCKER_BUILD_ARGUMENTS", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "nodemon", "start:dev": "nodemon", diff --git a/apps/ws/package.json b/apps/ws/package.json index d6c81e94717..fc226c25972 100644 --- a/apps/ws/package.json +++ b/apps/ws/package.json @@ -8,7 +8,7 @@ "scripts": { "prebuild": "rimraf dist", "build": "nest build", - "docker:build": "BULL_MQ_PRO_NPM_TOKEN=${BULL_MQ_PRO_NPM_TOKEN} docker buildx build --secret id=BULL_MQ_PRO_NPM_TOKEN -f ./Dockerfile -t novu-ws ./../.. --load --platform=linux/amd64,linux/arm64 --provenance=false", + "docker:build": "BULL_MQ_PRO_NPM_TOKEN=${BULL_MQ_PRO_NPM_TOKEN} docker buildx build --secret id=BULL_MQ_PRO_NPM_TOKEN -f ./Dockerfile -t novu-ws ./../.. --load $DOCKER_BUILD_ARGUMENTS", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "nodemon", "start:dev": "nodemon",