Skip to content

Commit c338320

Browse files
authored
fixed pipeline credentials (#306)
1 parent a90a677 commit c338320

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/ci-cd-production.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
uses: docker/login-action@v1
2727
with:
2828
registry: ghcr.io
29-
username: nenadjaja
30-
password: ${{ secrets.GH_ACCESS_TOKEN }}
29+
username: ${{ github.actor }}
30+
password: ${{ secrets.GITHUB_TOKEN }}
3131

3232
- name: Build and push Docker image
3333
uses: docker/build-push-action@v2
@@ -50,7 +50,7 @@ jobs:
5050
- name: Authenticate to GCP
5151
uses: google-github-actions/auth@v1
5252
with:
53-
credentials_json: ${{ secrets.GCP_SA_KEY_PRODUCTION }}
53+
credentials_json: ${{ secrets.GCP_THE_GRAPH_PRODUCTION }}
5454

5555
- name: Set up kubectl
5656
uses: google-github-actions/get-gke-credentials@v1

.github/workflows/ci-cd-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@v3
2020

2121
- name: Build Docker image
22-
uses: docker/build-push-action@v2
22+
uses: docker/build-push-action@v4
2323
with:
2424
context: . # required to respect .dockerignore
2525
cache-from: type=registry,ref=${{ env.BASE_IMAGE }}:latest

.github/workflows/ci-cd-staging.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ jobs:
2424
uses: actions/checkout@v3
2525

2626
- name: Login to GitHub Container Registry
27-
uses: docker/login-action@v1
27+
uses: docker/login-action@v2
2828
with:
2929
registry: ghcr.io
30-
username: nenadjaja
31-
password: ${{ secrets.GH_ACCESS_TOKEN }}
30+
username: ${{ github.actor }}
31+
password: ${{ secrets.GITHUB_TOKEN }}
3232

3333
- name: Build and push Docker image
34-
uses: docker/build-push-action@v2
34+
uses: docker/build-push-action@v4
3535
with:
3636
context: . # required to respect .dockerignore
3737
cache-from: type=registry,ref=${{ env.BASE_IMAGE }}:latest
@@ -51,7 +51,7 @@ jobs:
5151
- name: Authenticate to GCP
5252
uses: google-github-actions/auth@v1
5353
with:
54-
credentials_json: ${{ secrets.GCP_SA_KEY_STAGING }}
54+
credentials_json: ${{ secrets.GCP_THE_GRAPH_STAGING }}
5555

5656
- name: Set up kubectl
5757
uses: google-github-actions/get-gke-credentials@v1

0 commit comments

Comments
 (0)