diff --git a/.github/workflows/deploy-terraform.yaml b/.github/workflows/deploy-terraform.yaml index d923d7e..1965773 100644 --- a/.github/workflows/deploy-terraform.yaml +++ b/.github/workflows/deploy-terraform.yaml @@ -21,7 +21,7 @@ jobs: uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - - name: Login to Docker Hub + - name: Login to Container Registry run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin - name: Terraform-CI uses: docker/build-push-action@v3 diff --git a/terraform/Dockerfile b/terraform/Dockerfile index da7f5ca..2b4e624 100644 --- a/terraform/Dockerfile +++ b/terraform/Dockerfile @@ -2,8 +2,9 @@ # Inspired by # https://github.com/cloudbees/java-build-tools-dockerfile/blob/master/Dockerfile ################################################################################# -ARG ALPINE_VERSION=3.16 -FROM python:3.10.5-alpine${ALPINE_VERSION} as awscli +ARG ALPINE_VERSION=3.18 +ARG PYTHON_VERSION=3.9.18 +FROM python:${PYTHON_VERSION}-alpine${ALPINE_VERSION} as awscli ARG AWS_CLI_VERSION=2.13.37 RUN \