swap options, podman doesn't like the other order

This commit is contained in:
Frederic Crozat 2022-09-12 10:35:16 +02:00
parent faa8d94a29
commit 20dac54258

View File

@ -27,7 +27,7 @@ ARG PKG="github.com/distribution/distribution/v3"
ARG BUILDTAGS="include_oss include_gcs"
RUN --mount=type=bind,target=/src,rw \
--mount=type=cache,target=/root/.cache/go-build \
--mount=target=/go/pkg/mod,type=cache \
--mount=type=cache,target=/go/pkg/mod \
goreleaser-xx --debug \
--name="registry" \
--dist="/out" \