CD - Add GitHub Action to push Docker image to Docker Hub (#275)

* CD - Add GitHub Action to push Docker image to Docker Hub

* BUILD - Reduce size of image by using slim version of Debian

* CI - Modify Push Docker Image action to build and push Docker image to linux/amd64 and linux/arm64 architectures
This commit is contained in:
Juansecu
2024-05-15 10:17:33 -05:00
committed by GitHub
parent 233d21ecd7
commit 51615db230
2 changed files with 40 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
# build
FROM debian:latest as build
FROM debian:stable-slim as build
WORKDIR /usr/src/app
@@ -17,7 +17,7 @@ COPY Makefile CMakeLists.txt version.h.in ./
RUN make -j8
# prod
FROM debian:latest
FROM debian:stable-slim
WORKDIR /usr/src/app