File tree Expand file tree Collapse file tree 2 files changed +8
-11
lines changed
Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Original file line number Diff line number Diff line change 1- FROM python:3.8-alpine
1+ FROM amazon/aws-cli:2.17.7
22
33LABEL "com.github.actions.name" ="S3 Sync"
44LABEL "com.github.actions.description" ="Sync a directory to an AWS S3 repository"
55LABEL "com.github.actions.icon" ="refresh-cw"
66LABEL "com.github.actions.color" ="green"
77
8- LABEL version="0.5.1 "
9- LABEL repository ="https://github.com/jakejarvis /s3-sync-action"
10- LABEL homepage ="https://jarv.is/ "
11- LABEL maintainer ="Jake Jarvis <jake@jarv.is>"
8+ LABEL org.opencontainers.image. version="0.6.0 "
9+ LABEL org.opencontainers.image.source ="https://github.com/henriquemattos /s3-sync-action"
10+ LABEL org.opencontainers.image.url ="https://www.linkedin.com/in/henriquemattos "
11+ LABEL org.opencontainers.image.authors ="Jake Jarvis <jake@jarv.is>, Henrique Mattos <hey@henriquemattos.eu >"
1212
1313# https://github.com/aws/aws-cli/blob/master/CHANGELOG.rst
14- ENV AWSCLI_VERSION='1.18.14'
15-
16- RUN pip install --quiet --no-cache-dir awscli==${AWSCLI_VERSION}
14+ ENV AWSCLI_VERSION='2.17.7'
1715
1816ADD entrypoint.sh /entrypoint.sh
1917ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 3939
4040# Sync using our dedicated profile and suppress verbose messages.
4141# All other flags are optional via the `args:` directive.
42- sh -c " aws s3 sync ${SOURCE_DIR:- .} s3://${AWS_S3_BUCKET} /${DEST_DIR} \
42+ aws s3 sync ${SOURCE_DIR:- .} s3://${AWS_S3_BUCKET} /${DEST_DIR} \
4343 --profile s3-sync-action \
44- --no-progress \
45- ${ENDPOINT_APPEND} $* "
44+ ${ENDPOINT_APPEND} $*
4645
4746# Clear out credentials after we're done.
4847# We need to re-run `aws configure` with bogus input instead of
You can’t perform that action at this time.
0 commit comments