From b38b83fef66ce78c16da4e31c4cdc3429ffbeece Mon Sep 17 00:00:00 2001 From: allardy Date: Thu, 11 Jun 2026 20:04:24 -0400 Subject: [PATCH 1/4] fix: include token for deploy --- build/depot/action.yml | 6 ++++++ build/docker/action.yml | 6 ++++++ full-service-deploy/action.yml | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/build/depot/action.yml b/build/depot/action.yml index 31af4192..4e0b7506 100644 --- a/build/depot/action.yml +++ b/build/depot/action.yml @@ -34,6 +34,10 @@ inputs: description: 'Whether to minify the build' required: false default: true + node-auth-token: + description: 'GitHub Packages token for resolving @botpress-private/* during the build (optional)' + required: false + default: '' # Deploy repository: @@ -129,6 +133,8 @@ runs: MINIFY=${{ inputs.minify }} DOCKER_TAG=${{ inputs.tag }} BUILD_DATE=${{ steps.meta_date.outputs.timestamp }} + secrets: | + node_auth_token=${{ inputs.node-auth-token }} file: ${{ inputs.dockerfile }} context: ${{ inputs.context }} push: ${{ inputs.push }} diff --git a/build/docker/action.yml b/build/docker/action.yml index 42a52a92..55fb5fbf 100644 --- a/build/docker/action.yml +++ b/build/docker/action.yml @@ -34,6 +34,10 @@ inputs: description: 'Whether to minify the build' required: false default: true + node-auth-token: + description: 'GitHub Packages token for resolving @botpress-private/* during the build (optional)' + required: false + default: '' # Publish repository: @@ -126,6 +130,8 @@ runs: MINIFY=${{ inputs.minify }} DOCKER_TAG=${{ inputs.tag }} BUILD_DATE=${{ steps.meta_date.outputs.timestamp }} + secrets: | + node_auth_token=${{ inputs.node-auth-token }} file: ${{ inputs.dockerfile }} context: ${{ inputs.context }} push: ${{ inputs.push }} diff --git a/full-service-deploy/action.yml b/full-service-deploy/action.yml index 7c4809c0..6f9c2d29 100644 --- a/full-service-deploy/action.yml +++ b/full-service-deploy/action.yml @@ -30,6 +30,10 @@ inputs: sentry-auth-token: description: 'Sentry auth token (optional)' required: false + node-auth-token: + description: 'GitHub Packages token for resolving @botpress-private/* during the build (optional)' + required: false + default: '' force-build: description: 'Whether to force the build if the image already exists' type: boolean @@ -145,6 +149,7 @@ runs: tag: ${{ steps.commit.outputs.sha }} force: ${{ inputs.force-build }} sentry-auth-token: ${{ inputs.sentry-auth-token }} + node-auth-token: ${{ inputs.node-auth-token }} push: true - name: Build and Push Image (Depot) @@ -158,6 +163,7 @@ runs: tag: ${{ steps.commit.outputs.sha }} force: ${{ inputs.force-build }} sentry-auth-token: ${{ inputs.sentry-auth-token }} + node-auth-token: ${{ inputs.node-auth-token }} depot-project: ${{ inputs.depot-project }} push: true From 4bcd6863be38381a6026f422338a1977ccfb779b Mon Sep 17 00:00:00 2001 From: allardy Date: Thu, 11 Jun 2026 20:32:58 -0400 Subject: [PATCH 2/4] tes --- full-service-deploy/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/full-service-deploy/action.yml b/full-service-deploy/action.yml index 6f9c2d29..08f3b0d9 100644 --- a/full-service-deploy/action.yml +++ b/full-service-deploy/action.yml @@ -141,7 +141,7 @@ runs: - name: Build and Push Image (Docker) if: ${{ inputs.builder == 'docker' }} id: build-docker - uses: botpress/gh-actions/build/docker@v3 + uses: botpress/gh-actions/build/docker@v3.11 with: dockerfile: ${{ inputs.dockerfile }} repository: ${{ inputs.repository }} @@ -155,7 +155,7 @@ runs: - name: Build and Push Image (Depot) if: ${{ inputs.builder == 'depot' }} id: build-depot - uses: botpress/gh-actions/build/depot@v3 + uses: botpress/gh-actions/build/depot@v3.11 with: dockerfile: ${{ inputs.dockerfile }} repository: ${{ inputs.repository }} From 299d83dbe6b66663afbcc1d23c0ce678341940ce Mon Sep 17 00:00:00 2001 From: allardy Date: Thu, 11 Jun 2026 20:45:39 -0400 Subject: [PATCH 3/4] test --- full-service-deploy/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/full-service-deploy/action.yml b/full-service-deploy/action.yml index 08f3b0d9..73cb4ee5 100644 --- a/full-service-deploy/action.yml +++ b/full-service-deploy/action.yml @@ -141,7 +141,7 @@ runs: - name: Build and Push Image (Docker) if: ${{ inputs.builder == 'docker' }} id: build-docker - uses: botpress/gh-actions/build/docker@v3.11 + uses: botpress/gh-actions/build/docker@v3.12 with: dockerfile: ${{ inputs.dockerfile }} repository: ${{ inputs.repository }} @@ -155,7 +155,7 @@ runs: - name: Build and Push Image (Depot) if: ${{ inputs.builder == 'depot' }} id: build-depot - uses: botpress/gh-actions/build/depot@v3.11 + uses: botpress/gh-actions/build/depot@v3.12 with: dockerfile: ${{ inputs.dockerfile }} repository: ${{ inputs.repository }} From 08e79e05056360625dd47de7db76c37f60a8a7d8 Mon Sep 17 00:00:00 2001 From: allardy Date: Thu, 11 Jun 2026 21:08:39 -0400 Subject: [PATCH 4/4] upd --- full-service-deploy/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/full-service-deploy/action.yml b/full-service-deploy/action.yml index 73cb4ee5..6f9c2d29 100644 --- a/full-service-deploy/action.yml +++ b/full-service-deploy/action.yml @@ -141,7 +141,7 @@ runs: - name: Build and Push Image (Docker) if: ${{ inputs.builder == 'docker' }} id: build-docker - uses: botpress/gh-actions/build/docker@v3.12 + uses: botpress/gh-actions/build/docker@v3 with: dockerfile: ${{ inputs.dockerfile }} repository: ${{ inputs.repository }} @@ -155,7 +155,7 @@ runs: - name: Build and Push Image (Depot) if: ${{ inputs.builder == 'depot' }} id: build-depot - uses: botpress/gh-actions/build/depot@v3.12 + uses: botpress/gh-actions/build/depot@v3 with: dockerfile: ${{ inputs.dockerfile }} repository: ${{ inputs.repository }}