Skip to content

Commit 4da9ae1

Browse files
committed
Replaced Dockerhub with AWS ECR
1 parent fd61319 commit 4da9ae1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/cicd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ jobs:
5353

5454
- name: Login to AWS ECR
5555
run: |
56-
aws configure set aws_access_key_id ${ {secrets.AWS_ACCESS_KEY_ID }}
57-
aws configure set aws_secret_access_key ${ {secrets.AWS_SECRET_ACCESS_KEY }}
56+
aws configure set aws_access_key_id ${{secrets.AWS_ACCESS_KEY_ID }}
57+
aws configure set aws_secret_access_key ${{secrets.AWS_SECRET_ACCESS_KEY }}
5858
aws ecr get-login-password --region eu-north-1 | docker login --username AWS --password-stdin 843369994444.dkr.ecr.eu-north-1.amazonaws.com
5959
6060
- name: Build Docker Image

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9
1+
FROM python:3.10-slim
22

33
WORKDIR /app
44

0 commit comments

Comments
 (0)