Skip to content

Commit 16b738c

Browse files
LeoDiazLmacmiranda
andauthored
Use existing Alpine image (#25)
* Use alpine k8s source image and add deploy.sh on the fly (#20) * Update Dockerfile * Update action.yaml * Delete .github directory * Bumping alpine version --------- Co-authored-by: Marco Aurelio Caldas Miranda <[email protected]>
1 parent 9a40e1f commit 16b738c

File tree

3 files changed

+2
-34
lines changed

3 files changed

+2
-34
lines changed

.github/workflows/build-and-publish.yaml

-25
This file was deleted.

Dockerfile

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
FROM python:3.8-slim-buster
2-
3-
# Install the toolset.
4-
RUN apt -y update && apt -y install curl git \
5-
&& pip install awscli \
6-
&& curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash \
7-
&& curl -LO https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl \
8-
&& chmod +x ./kubectl && mv ./kubectl /usr/local/bin/kubectl
1+
FROM alpine/k8s:1.26.1
92

103
COPY deploy.sh /usr/local/bin/deploy
114

action.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ inputs:
8888

8989
runs:
9090
using: 'docker'
91-
image: 'docker://bitovi/deploy-eks-helm:v1.2.2'
91+
image: 'Dockerfile'
9292
env:
9393
AWS_REGION: ${{ inputs.aws-region }}
9494
AWS_SECRET_ACCESS_KEY: ${{ inputs.aws-secret-access-key }}

0 commit comments

Comments
 (0)