@@ -1,5 +1,5 @@
-FROM ubuntu:latest
-RUN apt-get update && apt-get install -y curl unzip
-COPY . /action/
-RUN /action/get-porter-cli.sh
+FROM public.ecr.aws/o1j4x7p4/porter-cli:latest
+
+COPY entrypoint.sh /action/
ENTRYPOINT ["/action/entrypoint.sh"]
@@ -1,9 +0,0 @@
-#!/usr/bin/env bash
-
-name=$(curl -s https://api.github.com/repos/porter-dev/porter/releases/latest | grep "browser_download_url.*/porter_.*_Linux_x86_64\.zip" | cut -d ":" -f 2,3 | tr -d \")
-name=$(basename "$name")
-curl -L https://github.com/porter-dev/porter/releases/latest/download/"$name" --output "$name"
-unzip -a "$name"
-rm "$name"
-chmod +x ./porter
-mv ./porter /usr/local/bin/