Skip to content

feat: add Dockerfile-based action for artifact uploads to s3#15

Merged
doanac merged 1 commit intoqualcomm-linux:awsfrom
quic-viskuma:aws
Feb 18, 2026
Merged

feat: add Dockerfile-based action for artifact uploads to s3#15
doanac merged 1 commit intoqualcomm-linux:awsfrom
quic-viskuma:aws

Conversation

@quic-viskuma
Copy link

@quic-viskuma quic-viskuma commented Feb 18, 2026

  • Introduce Dockerfile using alpine linux from public ECR
  • Preinstall AWS CLI
  • Add entrypoint script (publish_artifacts.sh) to check AWS credentials and upload artifacts
  • Configure action.yml to run with Docker image instead of composite steps

@quic-viskuma quic-viskuma force-pushed the aws branch 5 times, most recently from fddbf2f to 86c2ddf Compare February 18, 2026 14:18
Dockerfile Outdated
fi && \
unzip awscliv2.zip && \
./aws/install && \
rm -rf aws awscliv2.zip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alpine linux doesn't use the "apt" installer. you just need:

FROM public.ecr.aws/docker/library/alpine:3.21

RUN apk add aws-cli

That does what lines 1-19 are currently doing

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will it also handle the Arch?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes - but please test and make sure

@quic-viskuma quic-viskuma force-pushed the aws branch 2 times, most recently from 73ef0fc to 6176b6f Compare February 18, 2026 14:42
@quic-viskuma quic-viskuma requested a review from doanac February 18, 2026 14:44
Dockerfile Outdated

# Copy entrypoint script into the container
COPY publish_artifacts.sh /
RUN chmod +x /publish_artifacts.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can make this:

COPY --chmod=0755 publish_artifacts.sh /

and remove one layer from the container.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

- Introduce Dockerfile using alpine linux from public ECR
- Preinstall AWS CLI
- Add entrypoint script (publish_artifacts.sh) to check AWS credentials and upload artifacts
- Configure action.yml to run with Docker image instead of composite steps

Signed-off-by: Vishal Kumar <viskuma@qti.qualcomm.com>
@doanac doanac merged commit 1ce46ad into qualcomm-linux:aws Feb 18, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants