Skip to content

Update cicd.yml

Update cicd.yml #18

Workflow file for this run

name: cicd-workflow to create docker image and upload into Dockerhub
on:
push:
branches: [ "master" ]
jobs:
job1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::211223789150:role/aws-ecr-role-feb-23
role-scope: 'region'
aws-region: us-east-1
role-duration-seconds: 900 # Adjust this value as needed