Skip to content

Commit

Permalink
Adding in the new variables in all 3 files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Caesonia committed Feb 1, 2024
1 parent 85e4f84 commit 6c1dba4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.multi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM golang:alpine3.19 AS builder

#RUN apk update && apk add --no-cache upx make build-base bash git openssl
RUN apk update && apk add --no-cache upx make build-base bash git openssl

ENV CGO_ENABLED=0 \
GOOS=linux \
Expand Down Expand Up @@ -79,6 +79,8 @@ ENV LOG_TO_CONSOLE=true
ENV LOG_SQL=false
ENV AWS_SES_PWD=password
ENV [email protected]
ENV SES_ENDPOINT=smtp.mail.com
ENV SNS_ENDPOINT=sns.local.com
ENV BATCH_DELETION_KEY=key

# Making a note for a new dockerfile test.
Expand Down
6 changes: 6 additions & 0 deletions cfn/cfn-registry-cluster.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,12 @@ Resources:
ValueFrom: !Sub 'arn:aws:ssm:us-east-1:997427182289:parameter/${Envn}/REGISTRY/AWS_SES_PWD'
- Name: AWS_SES_USER
ValueFrom: !Sub 'arn:aws:ssm:us-east-1:997427182289:parameter/${Envn}/REGISTRY/AWS_SES_USER'
- Name: SES_ENDPOINT
ValueFrom: !Sub 'arn:aws:ssm:us-east-1:997427182289:parameter/${Envn}/REGISTRY/SES_ENDPOINT'
- Name: SNS_ENDPOINT
ValueFrom: !Sub 'arn:aws:ssm:us-east-1:997427182289:parameter/${Envn}/REGISTRY/SNS_ENDPOINT'
- Name: BATCH_DELETION_KEY
ValueFrom: !Sub 'arn:aws:ssm:us-east-1:997427182289:parameter/${Envn}/REGISTRY/BATCH_DELETION_KEY'
LinuxParameters: {}
LogConfiguration:
LogDriver: awslogs
Expand Down
6 changes: 6 additions & 0 deletions cfn/cfn-registry-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,12 @@ Resources:
ValueFrom: !Sub 'arn:aws:ssm:us-east-1:997427182289:parameter/${Envn}/REGISTRY/AWS_SES_PWD'
- Name: AWS_SES_USER
ValueFrom: !Sub 'arn:aws:ssm:us-east-1:997427182289:parameter/${Envn}/REGISTRY/AWS_SES_USER'
- Name: SES_ENDPOINT
ValueFrom: !Sub 'arn:aws:ssm:us-east-1:997427182289:parameter/${Envn}/REGISTRY/SES_ENDPOINT'
- Name: SNS_ENDPOINT
ValueFrom: !Sub 'arn:aws:ssm:us-east-1:997427182289:parameter/${Envn}/REGISTRY/SNS_ENDPOINT'
- Name: BATCH_DELETION_KEY
ValueFrom: !Sub 'arn:aws:ssm:us-east-1:997427182289:parameter/${Envn}/REGISTRY/BATCH_DELETION_KEY'
LinuxParameters: {}
LogConfiguration:
LogDriver: awslogs
Expand Down

0 comments on commit 6c1dba4

Please sign in to comment.