From 670a99f1d0cee93d0b7d24dc24fd2f0cc5f85bf5 Mon Sep 17 00:00:00 2001
From: Nhu Viet Nguyen <braveryandglory@gmail.com>
Date: Tue, 14 Nov 2023 11:40:18 +0100
Subject: [PATCH] fix: amend the DockerFile addition

---
 docker-action-test/Dockerfile | 20 --------------------
 1 file changed, 20 deletions(-)
 delete mode 100644 docker-action-test/Dockerfile

diff --git a/docker-action-test/Dockerfile b/docker-action-test/Dockerfile
deleted file mode 100644
index 045b565..0000000
--- a/docker-action-test/Dockerfile
+++ /dev/null
@@ -1,20 +0,0 @@
-FROM --platform=$BUILDPLATFORM docker.io/golang:1.21-alpine3.18 as builder
-
-ARG TARGETOS
-ARG TARGETARCH
-
-ENV CGO_ENABLED=0
-ENV GO111MODULE=on
-
-ADD . /app
-WORKDIR /app
-
-RUN uname -a &&\
-    CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o main .
-######## Start a new stage from scratch #######
-FROM docker.io/alpine:3.18.4
-
-RUN apk update && apk add --no-cache bash curl jq
-COPY --from=builder /app/main .
-# Command to run the executable
-CMD ["./main"]