Skip to content

Commit

Permalink
Revert "First crack at SRE app token (#1859)" (#1860)
Browse files Browse the repository at this point in the history
This reverts commit 492d1e3.
  • Loading branch information
ben851 committed Jun 6, 2024
1 parent 492d1e3 commit f96e2bc
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ env:
AWS_REGION: ca-central-1
DOCKER_ORG: public.ecr.aws/v6b8u5o6
DOCKER_SLUG: public.ecr.aws/v6b8u5o6/notify-admin
WORKFLOW_PAT: ${{ secrets.WORKFLOW_GITHUB_PAT }}


permissions:
id-token: write # This is required for requesting the OIDC JWT
Expand Down Expand Up @@ -52,15 +54,7 @@ jobs:
run: |
docker push $DOCKER_SLUG:latest && docker push $DOCKER_SLUG:${GITHUB_SHA::7}
- uses: actions/create-github-app-token@a0de6af83968303c8c955486bf9739a57d23c7f1 # v1.10.0
id: sre_app_token
with:
app-id: ${{ secrets.SRE_APP_ID }}
private-key: ${{ secrets.SRE_APP_PRIVATE_KEY }}

- name: Rollout in Kubernetes
env:
WORKFLOW_PAT: ${{ steps.sre_app_token.outputs.token }}
run: |
./scripts/callManifestsRollout.sh ${GITHUB_SHA::7}
Expand Down

0 comments on commit f96e2bc

Please sign in to comment.