Skip to content

Commit cf3253b

Browse files
authored
Merge pull request #966 from trheyi/main
Update AWS CLI version in Dockerfile and add version check in build-l…
2 parents d158ec9 + e4b4e50 commit cf3253b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build-linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
aws configure set default.region us-east-1 # Update with your R2 region if different
2727
aws configure set default.s3.signature_version s3v4
2828
aws configure set default.s3.endpoint_url https://$R2_ACCOUNT_ID.r2.cloudflarestorage.com
29+
aws --version
2930
3031
- name: Build
3132
run: |
@@ -43,5 +44,5 @@ jobs:
4344
- name: Push To R2 Cloudflare
4445
run: |
4546
for file in /data/*; do
46-
AWS_S3_DISABLE_CHECKSUMS=true aws s3 cp $file s3://$R2_BUCKET/archives/ --endpoint-url https://$R2_ACCOUNT_ID.r2.cloudflarestorage.com
47+
aws s3 cp $file s3://$R2_BUCKET/archives/ --endpoint-url https://$R2_ACCOUNT_ID.r2.cloudflarestorage.com
4748
done

docker/build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
4141
RUN npm install -g pnpm
4242

4343
# Install AWS CLI
44-
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
44+
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.22.7.zip" -o "awscliv2.zip" && \
4545
unzip awscliv2.zip && \
4646
./aws/install && \
4747
rm -rf awscliv2.zip && \

0 commit comments

Comments
 (0)