Skip to content

ci:upgrade aws login github action #34

ci:upgrade aws login github action

ci:upgrade aws login github action #34

name: Production release
on:
workflow_dispatch:
inputs:
tag:
description: "Current stable staging tag"
required: true
jobs:
deploy:
name: Build image and push to Amazon ECR
runs-on: ubuntu-latest
environment: production
steps:

Check failure on line 16 in .github/workflows/production-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/production-release.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
- name: Checkout
uses: actions/checkout@v4
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v3
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-central-1
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
with:
mask-password: 'true'
- name: Deploy to kilt cluster
uses: evosecurity/kubectl-aws-eks@master
env:
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG }}
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: socialkyc
IMAGE_TAG: ${{ github.sha }}
with:
args: set image deployment/socialkyc socialkyc=$ECR_REGISTRY/$ECR_REPOSITORY@${{ github.event.inputs.tag }} -n social-kyc