Move gitconfig step into dockerfile build section

This commit is contained in:
Dan Sosedoff 2023-02-15 16:59:39 -06:00
parent 23fb84db76
commit f12cf3725a
No known key found for this signature in database
GPG Key ID: 26186197D282B164
2 changed files with 1 additions and 1 deletions

View File

@ -17,5 +17,4 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: git config --global --add safe.directory /build
- run: flyctl deploy --remote-only

View File

@ -6,6 +6,7 @@ FROM golang:1.19-bullseye AS build
WORKDIR /build
ADD . /build
RUN git config --global --add safe.directory /build
RUN go mod download
RUN make build