From 3ead85bd975f0df90a4ea96e72fad3f5bb1dbf84 Mon Sep 17 00:00:00 2001 From: Peter Deme Date: Thu, 16 Mar 2023 12:03:18 +0100 Subject: [PATCH] Bump base image version (#2) Signed-off-by: peterdeme --- .github/workflows/build.yml | 4 ++-- .github/workflows/publish.yml | 2 +- Dockerfile | 2 +- README.md | 2 -- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 963761e..ce005e5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6366077..9de4994 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index e95db14..90b4055 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index 74c63c6..198789c 100644 --- a/README.md +++ b/README.md @@ -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.