Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(ci): set DOCKER_DEFAULT_PLATFORM in porter deployments

Marc Klingen3196ee7d046f
diff --git a/.github/workflows/porter_stack_web_eu_temp.yml b/.github/workflows/porter_stack_web_eu_temp.yml
index 3c82e757dc..89582c15ce 100644
--- a/.github/workflows/porter_stack_web_eu_temp.yml
+++ b/.github/workflows/porter_stack_web_eu_temp.yml
@@ -1,29 +1,30 @@
"on":
push:
branches:
- - production
+ - production
name: Deploy to web
jobs:
porter-deploy:
runs-on: ubuntu-latest
steps:
- - name: Checkout code
- uses: actions/checkout@v3
- - name: Set Github tag
- id: vars
- run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- - name: Setup porter
- uses: porter-dev/[email protected]
- - name: Deploy stack
- timeout-minutes: 30
- run: exec porter apply
- env:
- PORTER_CLUSTER: "4060"
- PORTER_DEPLOYMENT_TARGET_ID: 3be075c0-b121-4123-aec1-5dc571626b0c
- PORTER_HOST: https://dashboard.porter.run
- PORTER_PR_NUMBER: ${{ github.event.number }}
- PORTER_PROJECT: "12565"
- PORTER_REPO_NAME: ${{ github.event.repository.name }}
- PORTER_STACK_NAME: web
- PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
- PORTER_TOKEN: ${{ secrets.PORTER_STACK_12565_4060 }}
+ - name: Checkout code
+ uses: actions/checkout@v3
+ - name: Set Github tag
+ id: vars
+ run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
+ - name: Setup porter
+ uses: porter-dev/[email protected]
+ - name: Deploy stack
+ timeout-minutes: 30
+ run: exec porter apply
+ env:
+ PORTER_CLUSTER: "4060"
+ PORTER_DEPLOYMENT_TARGET_ID: 3be075c0-b121-4123-aec1-5dc571626b0c
+ PORTER_HOST: https://dashboard.porter.run
+ PORTER_PR_NUMBER: ${{ github.event.number }}
+ PORTER_PROJECT: "12565"
+ PORTER_REPO_NAME: ${{ github.event.repository.name }}
+ PORTER_STACK_NAME: web
+ PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
+ PORTER_TOKEN: ${{ secrets.PORTER_STACK_12565_4060 }}
+ DOCKER_DEFAULT_PLATFORM: linux/amd64
diff --git a/.github/workflows/porter_stack_web_staging.yml b/.github/workflows/porter_stack_web_staging.yml
index a443f0169d..5aa4951748 100644
--- a/.github/workflows/porter_stack_web_staging.yml
+++ b/.github/workflows/porter_stack_web_staging.yml
@@ -27,3 +27,4 @@ jobs:
PORTER_STACK_NAME: web
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
PORTER_TOKEN: ${{ secrets.PORTER_STACK_12565_4037 }}
+ DOCKER_DEFAULT_PLATFORM: linux/amd64
diff --git a/.github/workflows/porter_stack_web_us_temp.yml b/.github/workflows/porter_stack_web_us_temp.yml
index ef296fc80f..9e5e0f4558 100644
--- a/.github/workflows/porter_stack_web_us_temp.yml
+++ b/.github/workflows/porter_stack_web_us_temp.yml
@@ -27,3 +27,4 @@ jobs:
PORTER_STACK_NAME: web
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
PORTER_TOKEN: ${{ secrets.PORTER_STACK_12565_4054 }}
+ DOCKER_DEFAULT_PLATFORM: linux/amd64
diff --git a/.github/workflows/porter_stack_worker_eu_temp.yml b/.github/workflows/porter_stack_worker_eu_temp.yml
index 890d01876b..81a4fe65b2 100644
--- a/.github/workflows/porter_stack_worker_eu_temp.yml
+++ b/.github/workflows/porter_stack_worker_eu_temp.yml
@@ -1,29 +1,30 @@
"on":
push:
branches:
- - production
+ - production
name: Deploy to worker (EU temp)
jobs:
porter-deploy:
runs-on: ubuntu-latest
steps:
- - name: Checkout code
- uses: actions/checkout@v3
- - name: Set Github tag
- id: vars
- run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- - name: Setup porter
- uses: porter-dev/[email protected]
- - name: Deploy stack
- timeout-minutes: 30
- run: exec porter apply
- env:
- PORTER_CLUSTER: "4060"
- PORTER_DEPLOYMENT_TARGET_ID: 3be075c0-b121-4123-aec1-5dc571626b0c
- PORTER_HOST: https://dashboard.porter.run
- PORTER_PR_NUMBER: ${{ github.event.number }}
- PORTER_PROJECT: "12565"
- PORTER_REPO_NAME: ${{ github.event.repository.name }}
- PORTER_STACK_NAME: worker
- PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
- PORTER_TOKEN: ${{ secrets.PORTER_STACK_12565_4060 }}
+ - name: Checkout code
+ uses: actions/checkout@v3
+ - name: Set Github tag
+ id: vars
+ run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
+ - name: Setup porter
+ uses: porter-dev/[email protected]
+ - name: Deploy stack
+ timeout-minutes: 30
+ run: exec porter apply
+ env:
+ PORTER_CLUSTER: "4060"
+ PORTER_DEPLOYMENT_TARGET_ID: 3be075c0-b121-4123-aec1-5dc571626b0c
+ PORTER_HOST: https://dashboard.porter.run
+ PORTER_PR_NUMBER: ${{ github.event.number }}
+ PORTER_PROJECT: "12565"
+ PORTER_REPO_NAME: ${{ github.event.repository.name }}
+ PORTER_STACK_NAME: worker
+ PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
+ PORTER_TOKEN: ${{ secrets.PORTER_STACK_12565_4060 }}
+ DOCKER_DEFAULT_PLATFORM: linux/amd64
diff --git a/.github/workflows/porter_stack_worker_staging.yml b/.github/workflows/porter_stack_worker_staging.yml
index 9917467ace..9bd9ce012b 100644
--- a/.github/workflows/porter_stack_worker_staging.yml
+++ b/.github/workflows/porter_stack_worker_staging.yml
@@ -27,3 +27,4 @@ jobs:
PORTER_STACK_NAME: worker
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
PORTER_TOKEN: ${{ secrets.PORTER_STACK_12565_4037 }}
+ DOCKER_DEFAULT_PLATFORM: linux/amd64
diff --git a/.github/workflows/porter_stack_worker_us.yml b/.github/workflows/porter_stack_worker_us.yml
index a67295b215..d221602a99 100644
--- a/.github/workflows/porter_stack_worker_us.yml
+++ b/.github/workflows/porter_stack_worker_us.yml
@@ -27,3 +27,4 @@ jobs:
PORTER_STACK_NAME: worker
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
PORTER_TOKEN: ${{ secrets.PORTER_STACK_12565_4038 }}
+ DOCKER_DEFAULT_PLATFORM: linux/amd64
diff --git a/.github/workflows/porter_stack_worker_us_temp.yml b/.github/workflows/porter_stack_worker_us_temp.yml
index 5674072c48..4af196af05 100644
--- a/.github/workflows/porter_stack_worker_us_temp.yml
+++ b/.github/workflows/porter_stack_worker_us_temp.yml
@@ -27,3 +27,4 @@ jobs:
PORTER_STACK_NAME: worker
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
PORTER_TOKEN: ${{ secrets.PORTER_STACK_12565_4054 }}
+ DOCKER_DEFAULT_PLATFORM: linux/amd64