Skip to content

Commit 3cddacb

Browse files
authored
fix token gen (#37)
1 parent 7512a87 commit 3cddacb

File tree

3 files changed

+3
-31
lines changed

3 files changed

+3
-31
lines changed

.github/workflows/dev-build-deploy-on-main.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,10 @@ jobs:
1414
build:
1515
runs-on: mdb-dev
1616
env:
17-
AWS_REGION: us-east-2
17+
AWS_REGION: us-east-1
1818
steps:
19-
- name: Generate token
20-
# Use the Github App private key to request an installation
21-
# token with read-only access to the organization's private
22-
# repositories. This token is then used in the checkout step
23-
# (but not in subsequent steps that create releases and upload
24-
# assets, those still use the default token that has write
25-
# access to the current repository).
26-
id: generate_token
27-
uses: tibdex/github-app-token@v1
28-
with:
29-
app_id: ${{ secrets.ACTION_APP_ID }}
30-
private_key: ${{ secrets.ACTION_APP_KEY }}
3119
- name: Checkout tag
3220
uses: actions/checkout@v4
33-
with:
34-
token: ${{ steps.generate_token.outputs.token }}
3521
- name: Pull MindsDB Github Actions
3622
uses: actions/checkout@v4
3723
with:

.github/workflows/prod-build-deploy-on-release.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,10 @@ jobs:
1414
build:
1515
runs-on: mdb-dev
1616
env:
17-
AWS_REGION: us-east-2
17+
AWS_REGION: us-east-1
1818
steps:
19-
- name: Generate token
20-
# Use the Github App private key to request an installation
21-
# token with read-only access to the organization's private
22-
# repositories. This token is then used in the checkout step
23-
# (but not in subsequent steps that create releases and upload
24-
# assets, those still use the default token that has write
25-
# access to the current repository).
26-
id: generate_token
27-
uses: tibdex/github-app-token@v1
28-
with:
29-
app_id: ${{ secrets.ACTION_APP_ID }}
30-
private_key: ${{ secrets.ACTION_APP_KEY }}
3119
- name: Checkout tag
3220
uses: actions/checkout@v4
33-
with:
34-
token: ${{ steps.generate_token.outputs.token }}
3521
- name: Pull MindsDB Github Actions
3622
uses: actions/checkout@v4
3723
with:

deployment/hashnode-starter-kit/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ deployment:
88

99
# Where the image comes from. This should be the ECR Repo / Gitlab Group / Repo Name
1010
image:
11-
repository: 454861456664.dkr.ecr.us-east-2.amazonaws.com/mindsdb-hashnode-starter-kit
11+
repository: 168681354662.dkr.ecr.us-east-1.amazonaws.com/mindsdb-hashnode-starter-kit
1212
# Uncomment these two temporarily (and disable probes below) to debug manually in Kubernetes
1313
# command: ["/bin/sh"]
1414
# args: ["-c", "while true; do echo hello; sleep 10;done"]

0 commit comments

Comments
 (0)