Skip to content

Commit

Permalink
tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrl-alt-lulz committed Nov 24, 2023
1 parent 7b1edef commit 82ac663
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GOMODCACHE := $(shell go env GOMODCACHE)
GOCACHE := $(shell go env GOCACHE)
GOOS := linux
GOARCH := amd64
VERSION := 1.0.0-beta.rc1
VERSION := 1.0.0-beta.rc2

# hercules build info
REPO := zeusfyi
Expand Down
6 changes: 3 additions & 3 deletions docker/snapshots_v2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ ARG GOCACHE
ARG GOOS
ARG GOARCH
# manage dependencies
COPY apps/snapshots/ .
RUN --mount=type=cache,target=${GOMODCACHE} go mod download
COPY . .
COPY apps/snapshots/ ./
RUN go mod download
COPY apps/snapshots/ apps/snapshots/go.mod apps/snapshots/go.sum ./
RUN --mount=type=cache,target=${GOCACHE} CGO_ENABLED=1 GOOS=${GOOS} GOARCH=${GOARCH} go build -ldflags="-s -w" -o snapshots apps/snapshots/main.go

FROM ubuntu:22.04 AS rclone_builder
Expand Down

0 comments on commit 82ac663

Please sign in to comment.