Skip to content

Commit

Permalink
Merge branch 'main' into chore-check-licenses-and-vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoieni committed Sep 5, 2024
2 parents 3f715bd + db4147b commit 4b1f334
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
6 changes: 5 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:recommended", ":maintainLockFilesMonthly"],
extends: [
"config:recommended",
":maintainLockFilesMonthly",
"docker:disable",
],
}
20 changes: 10 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@ jobs:
contents: read
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::392478027976:role/gha-access
aws-region: us-east-2

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
uses: aws-actions/amazon-ecr-login@v2

- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3
- name: Build and tag the Docker image
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
REPOSITORY: bors
IMAGE_TAG: latest
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
tags: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:${{ env.IMAGE_TAG }}
Expand All @@ -56,25 +56,25 @@ jobs:
contents: read
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::351621253146:role/gha-access
aws-region: us-east-2

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
uses: aws-actions/amazon-ecr-login@v2

- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3
- name: Build and tag the Docker image
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
REPOSITORY: bors
IMAGE_TAG: latest
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
tags: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:${{ env.IMAGE_TAG }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
--health-retries 5
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -79,10 +79,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Build the Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
cache-from: type=gha
Expand Down

0 comments on commit 4b1f334

Please sign in to comment.