Skip to content

Commit

Permalink
Merge pull request #207 from AgricolaDevJP/fix-build
Browse files Browse the repository at this point in the history
[nit] fix some config about build
  • Loading branch information
Arthur1 authored Jul 5, 2024
2 parents e3fb78c + 7ffa3a3 commit e7db87f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json

version: 2

# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
Expand Down
2 changes: 2 additions & 0 deletions docker/production/server-lambda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
FROM --platform=$BUILDPLATFORM golang:1.22-bookworm as builder
ARG TARGETARCH

ENV GOTOOLCHAIN=auto

WORKDIR /opt/app

COPY go.mod go.sum ./
Expand Down
2 changes: 2 additions & 0 deletions docker/production/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM --platform=$BUILDPLATFORM golang:1.22-bookworm as builder
ARG TARGETARCH

ENV GOTOOLCHAIN=auto

WORKDIR /opt/app

COPY go.mod go.sum ./
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/AgricolaDevJP/agricoladb-server

go 1.22.1

toolchain go1.22.5

require (
entgo.io/contrib v0.5.0
entgo.io/ent v0.13.1
Expand Down

0 comments on commit e7db87f

Please sign in to comment.