Merge pull request #146 from jkaninda/feature/azure-blob

feat: add Azure Blob storage
This commit is contained in:
2024-12-06 18:29:34 +01:00
committed by GitHub
29 changed files with 1373 additions and 602 deletions

View File

@@ -1,5 +1,6 @@
FROM golang:1.23.3 AS build
WORKDIR /app
ARG appVersion=""
# Copy the source code.
COPY . .
@@ -7,7 +8,7 @@ COPY . .
RUN go mod download
# Build
RUN CGO_ENABLED=0 GOOS=linux go build -o /app/mysql-bkup
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-X 'github.com/jkaninda/pg-bkup/utils.Version=${appVersion}'" -o /app/mysql-bkup
FROM alpine:3.20.3
ENV TZ=UTC