Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Update ci.yml #118

Merged
merged 1 commit into from
Sep 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
contents: write

steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- run: ansible-galaxy install -r ./provision/requirements.yml
- uses: pre-commit/[email protected]

- name: Setup
uses: hashicorp/setup-terraform@v2
uses: hashicorp/setup-terraform@v2.0.3
with:
terraform_version: 1.3.7

Expand All @@ -41,7 +41,7 @@ jobs:
terragrunt_version: 0.43.0

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@8c3f20df09ac63af7b3ae3d7c91f105f857d8497 # v4
uses: aws-actions/configure-aws-credentials@8c3f20df09ac63af7b3ae3d7c91f105f857d8497 # v4.0.0
with:
role-to-assume: ${{ secrets.ROLE }}
aws-region: eu-west-2
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
echo "${{ secrets.ID_ECDSA }}" > key.txt

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@8c3f20df09ac63af7b3ae3d7c91f105f857d8497 # v4
uses: aws-actions/configure-aws-credentials@8c3f20df09ac63af7b3ae3d7c91f105f857d8497 # v4.0.0
with:
role-to-assume: ${{ secrets.ROLE }}
aws-region: eu-west-2
Expand Down Expand Up @@ -136,23 +136,23 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v3.0.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@v5
uses: docker/build-push-action@v5.0.0
with:
context: ./consumer
push: ${{ github.event_name != 'pull_request' }}
Expand Down
Loading