From b228f55f7189b81412d148a0d6cf15890e81d63b Mon Sep 17 00:00:00 2001 From: Kilemonn Date: Mon, 8 Jul 2024 14:52:12 +0900 Subject: [PATCH] Add build and push steps to Dockerfile. --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7410160..f71f7af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,13 @@ +# Build image with tag + +# MAKE SURE VERSION IN main.cpp MATCHES + +# docker build -t kilemon/socket-forwarder:0.1.0 . +# docker tag kilemon/socket-forwarder:0.1.0 kilemon/socket-forwarder:latest +# +# Push image to remote +# docker push kilemon/socket-forwarder:0.1.0 + FROM alpine:3.20.0 AS builder WORKDIR /builder