Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 6f77c33

Browse files
committed
cleanup
1 parent 87c115e commit 6f77c33

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ ENV GITHUB_SHA=${GITHUB_SHA}
5555
ENV GITHUB_EVENT_PATH=${GITHUB_EVENT_PATH}
5656
ENV GITHUB_TOKEN=${GITHUB_TOKEN}
5757
ENV GITHUB_WORKSPACE=${GITHUB_WORKSPACE}
58+
ENV AWS_ACCESS_KEY=${AWS_ACCESS_KEY}
59+
ENV AWS_SECRET_KEY=${AWS_SECRET_KEY}
5860

5961
###########################
6062
# Copy files to container #

lib/entrypoint.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -x
1+
#!/bin/bash
22

33
################################################################################
44
################################################################################
@@ -16,8 +16,6 @@
1616
###########
1717
# Globals #
1818
###########
19-
AWS_ACCESS_KEY_ID="${AWS_ACCESS_KEY_ID}" # aws_access_key_id to auth
20-
AWS_SECRET_ACCESS_KEY="${AWS_SECRET_ACCESS_KEY}" # aws_secret_access_key to auth
2119
AWS_REGION='' # AWS region to deploy
2220
S3_BUCKET='' # AWS S3 bucket to package and deploy
2321
AWS_SAM_TEMPLATE='' # Path to the SAM template in the user repository
@@ -30,11 +28,13 @@ RUNTIME='' # Runtime for AWS SAM App
3028
###################
3129
# GitHub ENV Vars #
3230
###################
33-
GITHUB_SHA="${GITHUB_SHA}" # GitHub sha from the commit
34-
GITHUB_EVENT_PATH="${GITHUB_EVENT_PATH}" # Github Event Path
35-
GITHUB_TOKEN="${ACTIONS_RUNTIME_TOKEN}" # GitHub token
36-
GITHUB_WORKSPACE="${GITHUB_WORKSPACE}" # Github Workspace
37-
GITHUB_URL='https://api.github.com' # GitHub API URL
31+
GITHUB_SHA="${GITHUB_SHA}" # GitHub sha from the commit
32+
GITHUB_EVENT_PATH="${GITHUB_EVENT_PATH}" # Github Event Path
33+
GITHUB_TOKEN="${ACTIONS_RUNTIME_TOKEN}" # GitHub token
34+
GITHUB_WORKSPACE="${GITHUB_WORKSPACE}" # Github Workspace
35+
AWS_ACCESS_KEY_ID="${AWS_ACCESS_KEY_ID}" # aws_access_key_id to auth
36+
AWS_SECRET_ACCESS_KEY="${AWS_SECRET_ACCESS_KEY}" # aws_secret_access_key to auth
37+
GITHUB_URL='https://api.github.com' # GitHub API URL
3838

3939
##############
4040
# Built Vars #

0 commit comments

Comments
 (0)