Revert "ci: fix versionsapi cli container Dockerfile (#1856)" (#1896)

This reverts commit 0fac6a03cc.
This commit is contained in:
Adrian Stobbe 2023-06-07 17:18:59 +02:00 committed by GitHub
parent 4284f892ce
commit e9f9337cb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,11 +13,11 @@ RUN go mod download
COPY . .
# Build
WORKDIR /workspace/internal/api/versions/cli
WORKDIR /workspace/internal/api/versionsapi/cli
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o versionsapi .
FROM scratch as release
COPY --from=builder /workspace/internal/api/versions/cli/versionsapi .
COPY --from=builder /workspace/internal/api/versionsapi/cli/versionsapi .
CMD ["/notIntendedToBeExecuted"]