Move gitconfig step into dockerfile build section
This commit is contained in:
parent
23fb84db76
commit
f12cf3725a
1
.github/workflows/deploy.yml
vendored
1
.github/workflows/deploy.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user