Skip to content

Commit

Permalink
Bump base image version (#2)
Browse files Browse the repository at this point in the history
Signed-off-by: peterdeme <[email protected]>
  • Loading branch information
peterdeme authored Mar 16, 2023
1 parent 1d9e08c commit 3ead85b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
env:
IMAGE_NAME: ${{ github.repository }}:${{ github.sha }}
AWS_CLI_VERSION: 2.9.8
AWS_CLI_VERSION: 2.11.3
ALPINE_VERSION: 3.17
steps:
- name: Check out repository code
Expand All @@ -33,7 +33,7 @@ jobs:
uses: docker/setup-buildx-action@v2

- name: Build the image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
platforms: linux/${{ matrix.arch }}
load: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:

- name: Build the image
if: steps.check_tag.outputs.tag_exists == 'false'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64
push: true
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG ALPINE_VERSION

FROM python:3.9-alpine${ALPINE_VERSION}
FROM python:3.11-alpine${ALPINE_VERSION}

ARG AWS_CLI_VERSION

Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ COPY --from=ghcr.io/spacelift-io/aws-cli-alpine /aws-cli-bin/ /usr/local/bin/

The newest releases can be found in the [Releases](https://github.com/spacelift-io/aws-cli-alpine/releases) section.

> **Note:** As of December 2022, AWS CLI v2 [builds with PyInstaller 5.3](https://github.com/aws/aws-cli/blob/2.9.8/requirements-build.txt#L4). This version is only compatible with Python 3.9, that's why we use an older Python image.
## Schedule & builds 📅

We check for the latest AWS CLI version in `publish.yml` workflow periodically.
Expand Down

0 comments on commit 3ead85b

Please sign in to comment.