Skip to content

Commit 1151a32

Browse files
Fixing indentation issues
1 parent 93695fd commit 1151a32

File tree

4 files changed

+213
-213
lines changed

4 files changed

+213
-213
lines changed

.github/workflows/build-attester.yaml

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -25,65 +25,65 @@ jobs:
2525
timeout-minutes: 30
2626

2727
steps:
28-
- name: Shorten SHA TAG
28+
- name: Shorten SHA TAG
2929
id: env-vars
3030
shell: bash
3131
env:
3232
FULL_SHA: ${{ inputs.tag }}
3333
run: echo "TAG=${FULL_SHA::16}" >> $GITHUB_OUTPUT
3434

35-
- name: Repository checkout
36-
uses: actions/checkout@v4
35+
- name: Repository checkout
36+
uses: actions/checkout@v4
3737

38-
- name: Configure AWS credentials
39-
uses: aws-actions/configure-aws-credentials@v4
40-
with:
41-
role-to-assume: arn:aws:iam::291847425310:role/gitHubDeploymentsRoleFastAuth
42-
role-session-name: deploymentsRoleFastAuth
43-
role-duration-seconds: 900
44-
aws-region: us-east-1
38+
- name: Configure AWS credentials
39+
uses: aws-actions/configure-aws-credentials@v4
40+
with:
41+
role-to-assume: arn:aws:iam::291847425310:role/gitHubDeploymentsRoleFastAuth
42+
role-session-name: deploymentsRoleFastAuth
43+
role-duration-seconds: 900
44+
aws-region: us-east-1
4545

46-
- name: Login to ECR
47-
uses: aws-actions/amazon-ecr-login@v2
46+
- name: Login to ECR
47+
uses: aws-actions/amazon-ecr-login@v2
4848

49-
- name: Set up Docker Buildx
50-
uses: docker/setup-buildx-action@v3
49+
- name: Set up Docker Buildx
50+
uses: docker/setup-buildx-action@v3
5151

52-
# Restore local cache
53-
- name: Restore cache
54-
uses: actions/cache@v3
55-
with:
56-
path: /tmp/.buildx-cache
57-
key: ${{ github.job }}-${{ runner.os }}-buildx-attester
58-
restore-keys: |
59-
${{ github.job }}-${{ runner.os }}-buildx-attester
52+
# Restore local cache
53+
- name: Restore cache
54+
uses: actions/cache@v3
55+
with:
56+
path: /tmp/.buildx-cache
57+
key: ${{ github.job }}-${{ runner.os }}-buildx-attester
58+
restore-keys: |
59+
${{ github.job }}-${{ runner.os }}-buildx-attester
6060
61-
# Build docker image
62-
- name: Build docker image
63-
uses: docker/build-push-action@v5
64-
env:
65-
TAG: ${{ steps.env-vars.outputs.TAG }}
66-
with:
67-
context: .
68-
file: docker/attester.Dockerfile
69-
provenance: false
70-
target: ${{ inputs.target }}
71-
push: ${{ inputs.push }}
72-
tags: |
73-
291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/attester:${{ env.TAG }}
74-
291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/attester:latest
75-
outputs: type=image
76-
cache-from: type=local,src=/tmp/.buildx-cache
77-
cache-to: type=local,dest=/tmp/.buildx-cache-new
78-
build-args: |
79-
BASE_IMAGE=291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/base:${{ env.TAG }}
80-
TURBO_TEAM=peersyst
81-
secrets: |
82-
turbo_token=${{ secrets.TURBO_TOKEN }}
61+
# Build docker image
62+
- name: Build docker image
63+
uses: docker/build-push-action@v5
64+
env:
65+
TAG: ${{ steps.env-vars.outputs.TAG }}
66+
with:
67+
context: .
68+
file: docker/attester.Dockerfile
69+
provenance: false
70+
target: ${{ inputs.target }}
71+
push: ${{ inputs.push }}
72+
tags: |
73+
291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/attester:${{ env.TAG }}
74+
291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/attester:latest
75+
outputs: type=image
76+
cache-from: type=local,src=/tmp/.buildx-cache
77+
cache-to: type=local,dest=/tmp/.buildx-cache-new
78+
build-args: |
79+
BASE_IMAGE=291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/base:${{ env.TAG }}
80+
TURBO_TEAM=peersyst
81+
secrets: |
82+
turbo_token=${{ secrets.TURBO_TOKEN }}
8383
84-
# Save latest cache
85-
- name: Save cache
86-
if: always()
87-
run: |
88-
rm -rf /tmp/.buildx-cache
89-
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
84+
# Save latest cache
85+
- name: Save cache
86+
if: always()
87+
run: |
88+
rm -rf /tmp/.buildx-cache
89+
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

.github/workflows/build-base.yaml

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -22,63 +22,63 @@ jobs:
2222
timeout-minutes: 30
2323

2424
steps:
25-
- name: Shorten SHA TAG
26-
id: env-vars
27-
shell: bash
28-
env:
29-
FULL_SHA: ${{ inputs.tag }}
30-
run: echo "TAG=${FULL_SHA::16}" >> $GITHUB_OUTPUT
25+
- name: Shorten SHA TAG
26+
id: env-vars
27+
shell: bash
28+
env:
29+
FULL_SHA: ${{ inputs.tag }}
30+
run: echo "TAG=${FULL_SHA::16}" >> $GITHUB_OUTPUT
3131

32-
- name: Repository checkout
33-
uses: actions/checkout@v4
32+
- name: Repository checkout
33+
uses: actions/checkout@v4
3434

35-
- name: Configure AWS credentials
36-
uses: aws-actions/configure-aws-credentials@v4
37-
with:
38-
role-to-assume: arn:aws:iam::291847425310:role/gitHubDeploymentsRoleFastAuth
39-
role-session-name: deploymentsRoleFastAuth
40-
role-duration-seconds: 900
41-
aws-region: us-east-1
35+
- name: Configure AWS credentials
36+
uses: aws-actions/configure-aws-credentials@v4
37+
with:
38+
role-to-assume: arn:aws:iam::291847425310:role/gitHubDeploymentsRoleFastAuth
39+
role-session-name: deploymentsRoleFastAuth
40+
role-duration-seconds: 900
41+
aws-region: us-east-1
4242

43-
- name: Login to ECR
44-
uses: aws-actions/amazon-ecr-login@v2
43+
- name: Login to ECR
44+
uses: aws-actions/amazon-ecr-login@v2
4545

46-
- name: Set up Docker Buildx
47-
uses: docker/setup-buildx-action@v3
46+
- name: Set up Docker Buildx
47+
uses: docker/setup-buildx-action@v3
4848

49-
# Restore local cache
50-
- name: Restore cache
51-
uses: actions/cache@v3
52-
with:
53-
path: /tmp/.buildx-cache
54-
key: ${{ github.job }}-${{ runner.os }}-buildx-base
55-
restore-keys: |
56-
${{ github.job }}-${{ runner.os }}-buildx-base
49+
# Restore local cache
50+
- name: Restore cache
51+
uses: actions/cache@v3
52+
with:
53+
path: /tmp/.buildx-cache
54+
key: ${{ github.job }}-${{ runner.os }}-buildx-base
55+
restore-keys: |
56+
${{ github.job }}-${{ runner.os }}-buildx-base
5757
58-
# Build docker image
59-
- name: Build docker image
60-
uses: docker/build-push-action@v5
61-
env:
62-
TAG: ${{ steps.env-vars.outputs.TAG }}
63-
with:
64-
context: .
65-
file: docker/base.Dockerfile
66-
provenance: false
67-
push: ${{ inputs.push }}
68-
tags: |
69-
291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/base:${{ env.TAG }}
70-
291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/base:latest
71-
outputs: type=image
72-
cache-from: type=local,src=/tmp/.buildx-cache
73-
cache-to: type=local,dest=/tmp/.buildx-cache-new
74-
build-args: |
75-
TURBO_TEAM=peersyst
76-
secrets: |
77-
turbo_token=${{ secrets.TURBO_TOKEN }}
58+
# Build docker image
59+
- name: Build docker image
60+
uses: docker/build-push-action@v5
61+
env:
62+
TAG: ${{ steps.env-vars.outputs.TAG }}
63+
with:
64+
context: .
65+
file: docker/base.Dockerfile
66+
provenance: false
67+
push: ${{ inputs.push }}
68+
tags: |
69+
291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/base:${{ env.TAG }}
70+
291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/base:latest
71+
outputs: type=image
72+
cache-from: type=local,src=/tmp/.buildx-cache
73+
cache-to: type=local,dest=/tmp/.buildx-cache-new
74+
build-args: |
75+
TURBO_TEAM=peersyst
76+
secrets: |
77+
turbo_token=${{ secrets.TURBO_TOKEN }}
7878
79-
# Save latest cache
80-
- name: Save cache
81-
if: always()
82-
run: |
83-
rm -rf /tmp/.buildx-cache
84-
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
79+
# Save latest cache
80+
- name: Save cache
81+
if: always()
82+
run: |
83+
rm -rf /tmp/.buildx-cache
84+
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

.github/workflows/build-custom-issuer.yaml

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -24,65 +24,65 @@ jobs:
2424
timeout-minutes: 30
2525

2626
steps:
27-
- name: Shorten SHA TAG
28-
id: env-vars
29-
shell: bash
30-
env:
31-
FULL_SHA: ${{ inputs.tag }}
32-
run: echo "TAG=${FULL_SHA::16}" >> $GITHUB_OUTPUT
27+
- name: Shorten SHA TAG
28+
id: env-vars
29+
shell: bash
30+
env:
31+
FULL_SHA: ${{ inputs.tag }}
32+
run: echo "TAG=${FULL_SHA::16}" >> $GITHUB_OUTPUT
3333

34-
- name: Repository checkout
35-
uses: actions/checkout@v4
34+
- name: Repository checkout
35+
uses: actions/checkout@v4
3636

37-
- name: Configure AWS credentials
38-
uses: aws-actions/configure-aws-credentials@v4
39-
with:
40-
role-to-assume: arn:aws:iam::291847425310:role/gitHubDeploymentsRoleFastAuth
41-
role-session-name: deploymentsRoleFastAuth
42-
role-duration-seconds: 900
43-
aws-region: us-east-1
37+
- name: Configure AWS credentials
38+
uses: aws-actions/configure-aws-credentials@v4
39+
with:
40+
role-to-assume: arn:aws:iam::291847425310:role/gitHubDeploymentsRoleFastAuth
41+
role-session-name: deploymentsRoleFastAuth
42+
role-duration-seconds: 900
43+
aws-region: us-east-1
4444

45-
- name: Login to ECR
46-
uses: aws-actions/amazon-ecr-login@v2
45+
- name: Login to ECR
46+
uses: aws-actions/amazon-ecr-login@v2
4747

48-
- name: Set up Docker Buildx
49-
uses: docker/setup-buildx-action@v3
48+
- name: Set up Docker Buildx
49+
uses: docker/setup-buildx-action@v3
5050

51-
# Restore local cache
52-
- name: Restore cache
53-
uses: actions/cache@v3
54-
with:
55-
path: /tmp/.buildx-cache
56-
key: ${{ github.job }}-${{ runner.os }}-buildx-custom-issuer
57-
restore-keys: |
58-
${{ github.job }}-${{ runner.os }}-buildx-custom-issuer
51+
# Restore local cache
52+
- name: Restore cache
53+
uses: actions/cache@v3
54+
with:
55+
path: /tmp/.buildx-cache
56+
key: ${{ github.job }}-${{ runner.os }}-buildx-custom-issuer
57+
restore-keys: |
58+
${{ github.job }}-${{ runner.os }}-buildx-custom-issuer
5959
60-
# Build docker image
61-
- name: Build docker image
62-
uses: docker/build-push-action@v5
63-
env:
64-
TAG: ${{ steps.env-vars.outputs.TAG }}
65-
with:
66-
context: .
67-
file: docker/custom-issuer.Dockerfile
68-
provenance: false
69-
target: ${{ inputs.target }}
70-
push: ${{ inputs.push }}
71-
tags: |
72-
291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/custom-issuer:${{ env.TAG }}
73-
291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/custom-issuer:latest
74-
outputs: type=image
75-
cache-from: type=local,src=/tmp/.buildx-cache
76-
cache-to: type=local,dest=/tmp/.buildx-cache-new
77-
build-args: |
78-
BASE_IMAGE=291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/base:${{ env.TAG }}
79-
TURBO_TEAM=peersyst
80-
secrets: |
81-
turbo_token=${{ secrets.TURBO_TOKEN }}
60+
# Build docker image
61+
- name: Build docker image
62+
uses: docker/build-push-action@v5
63+
env:
64+
TAG: ${{ steps.env-vars.outputs.TAG }}
65+
with:
66+
context: .
67+
file: docker/custom-issuer.Dockerfile
68+
provenance: false
69+
target: ${{ inputs.target }}
70+
push: ${{ inputs.push }}
71+
tags: |
72+
291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/custom-issuer:${{ env.TAG }}
73+
291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/custom-issuer:latest
74+
outputs: type=image
75+
cache-from: type=local,src=/tmp/.buildx-cache
76+
cache-to: type=local,dest=/tmp/.buildx-cache-new
77+
build-args: |
78+
BASE_IMAGE=291847425310.dkr.ecr.us-east-1.amazonaws.com/fast-auth/base:${{ env.TAG }}
79+
TURBO_TEAM=peersyst
80+
secrets: |
81+
turbo_token=${{ secrets.TURBO_TOKEN }}
8282
83-
# Save latest cache
84-
- name: Save cache
85-
if: always()
86-
run: |
87-
rm -rf /tmp/.buildx-cache
88-
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
83+
# Save latest cache
84+
- name: Save cache
85+
if: always()
86+
run: |
87+
rm -rf /tmp/.buildx-cache
88+
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

0 commit comments

Comments
 (0)