Skip to content

Commit

Permalink
Merge pull request #31 from pdeveltere/fix/ian_belcher
Browse files Browse the repository at this point in the history
  • Loading branch information
ianbelcher authored Apr 25, 2024
2 parents 7cfe323 + a794983 commit 8378b68
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
name: Build docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
FROM python:3.10.0a7-alpine3.13
FROM alpine:3.19

LABEL maintainer="Ian Belcher <[email protected]>"

ENV PYTHONIOENCODING=UTF-8

RUN apk add --no-cache curl

RUN pip install awscli
RUN apk add --no-cache curl aws-cli

ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [ -n "${INPUT_AWS_SECRET_ACCESS_KEY:-}" ]; then
fi

if [ -n "${INPUT_AWS_REGION:-}" ]; then
export AWS_DEFAULT_REGION="${INPUT_AWS_REGION}"
export AWS_REGION="${INPUT_AWS_REGION}"
fi

if [ -n "${INPUT_KUBERNETES_VERSION:-}" ]; then
Expand Down

0 comments on commit 8378b68

Please sign in to comment.