ajuste no drone

This commit is contained in:
Marcus Bohessef 2026-01-06 20:30:56 -03:00
parent b9a592c29c
commit e4f2caf219
2 changed files with 3 additions and 6 deletions

View file

@ -14,8 +14,7 @@ trigger:
steps:
- name: build-and-push-backend
image: plugins/buildx:latest
privileged: true
image: plugins/docker:latest
settings:
registry: in.gohorsejobs.com
repo: in.gohorsejobs.com/gohorsejobsdev/gohorsejobs-backend
@ -25,8 +24,6 @@ steps:
purge: true
username: { from_secret: HARBOR_USERNAME }
password: { from_secret: HARBOR_PASSWORD }
build_args:
- DOCKER_BUILDKIT=1
- name: build-and-push-backoffice
image: plugins/docker:latest

View file

@ -16,8 +16,8 @@ RUN apk add --no-cache git ca-certificates tzdata
# Cache go modules (separate layer for better caching)
COPY go.mod go.sum ./
RUN --mount=type=cache,target=/go/pkg/mod \
go mod download && go mod verify
#RUN --mount=type=cache,target=/go/pkg/mod \
# go mod download && go mod verify
# Copy source
COPY cmd ./cmd