You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using the go docker image as the base image to build and run tests for go applications, I noticed that after upgrading the go version, the targets that build & test are still skipped even though I expected those targets to run with the new go version.
common/Earthfile
VERSION 0.8
ARG GOLANG_VERSION=1.21-alpine
FROMgolang:$GOLANG_VERSION
some-service/Earthfile
FROM../common+baseRUN apk add --update--no-cache build-base ca-certificates curl
WORKDIR /app
deps:
#COPY go files COPY go.mod go.sum ./
RUN go mod download
What went wrong?
While using the go docker image as the base image to build and run tests for go applications, I noticed that after upgrading the go version, the targets that build & test are still skipped even though I expected those targets to run with the new go version.
common/Earthfile
some-service/Earthfile
Earthfile:
earthly --autoskip +build-services
What should have happened?
Autoskip should have detected that the base image changed and rerun the target
Other Helpful Information
The text was updated successfully, but these errors were encountered: