Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions build/depot/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down
6 changes: 6 additions & 0 deletions build/docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down
6 changes: 6 additions & 0 deletions full-service-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand All @@ -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

Expand Down
Loading