Merge pull request #19373 from eriksjolund/fix-stage-name-references

build: fix stage name references
This commit is contained in:
David Karlsson 2024-02-10 20:07:16 +01:00 committed by GitHub
commit b9cd394bf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -40,11 +40,11 @@ has to be. Build arguments make life easier:
go build -o /bin/server ./cmd/server
FROM scratch AS client
COPY --from=build /bin/client /bin/
COPY --from=build-client /bin/client /bin/
ENTRYPOINT [ "/bin/client" ]
FROM scratch AS server
COPY --from=build /bin/server /bin/
COPY --from=build-server /bin/server /bin/
ENTRYPOINT [ "/bin/server" ]
```