test with go install
All checks were successful
Tests / test (pull_request) Successful in 1m29s

This commit is contained in:
Dan Anglin 2024-08-17 17:56:12 +01:00
parent cdcca4cff6
commit 545ba48f4a
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638

View file

@ -1,14 +1,6 @@
# syntax=docker/dockerfile:1
FROM golang:1.23.0 AS builder
FROM golang:1.23.0
RUN git clone https://github.com/magefile/mage \
&& cd mage \
&& git checkout v1.15.0 \
&& go run bootstrap.go
FROM golang:1.23.0-alpine
COPY --from=builder /go/bin/mage /go/bin/mage
RUN go install github.com/magefile/mage@v1.15.0
ENTRYPOINT ["mage"]