Skip to content

Commit

Permalink
v0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Sep 24, 2019
1 parent c96bb22 commit 8e6fd01
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LABEL "com.github.actions.description"="build, tag and pushes the container"
LABEL "com.github.actions.icon"="anchor"
LABEL "com.github.actions.color"="blue"

LABEL version=v0.1.5
LABEL version=v0.1.6
LABEL repository="https://github.com/opspresso/action-docker"
LABEL maintainer="Jungyoul Yu <me@nalbam.com>"
LABEL homepage="https://opspresso.com/"
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.5
v0.1.6
16 changes: 8 additions & 8 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@ _aws_pre() {
if [ -z "${AWS_REGION}" ]; then
AWS_REGION="us-east-1"
fi

# aws credentials
aws configure <<-EOF > /dev/null 2>&1
${AWS_ACCESS_KEY_ID}
${AWS_SECRET_ACCESS_KEY}
${AWS_REGION}
text
EOF
}

_ecr_pre() {
Expand Down Expand Up @@ -66,6 +58,14 @@ _ecr_pre() {
_ecr() {
_ecr_pre

# aws credentials
aws configure <<-EOF > /dev/null 2>&1
${AWS_ACCESS_KEY_ID}
${AWS_SECRET_ACCESS_KEY}
${AWS_REGION}
text
EOF

echo "aws ecr get-login --no-include-email"
aws ecr get-login --no-include-email | sh

Expand Down

0 comments on commit 8e6fd01

Please sign in to comment.