try another syntax

This commit is contained in:
Frederic Crozat 2022-09-05 17:00:52 +02:00
parent 519d915803
commit b317c748d5

View File

@ -6,7 +6,7 @@ ARG GO_VERSION=1.18
ARG GORELEASER_XX_VERSION=1.2.5 ARG GORELEASER_XX_VERSION=1.2.5
FROM crazymax/goreleaser-xx:${GORELEASER_XX_VERSION} AS goreleaser-xx FROM crazymax/goreleaser-xx:${GORELEASER_XX_VERSION} AS goreleaser-xx
FROM ${BCI_GO}:${GO_VERSION} AS base FROM $BCI_GO:$GO_VERSION AS base
COPY --from=goreleaser-xx / / COPY --from=goreleaser-xx / /
RUN zypper --non-interactive install -y file git-core RUN zypper --non-interactive install -y file git-core
WORKDIR /src WORKDIR /src