diff --git a/Dockerfile b/Dockerfile index 5a9c0ca..fa6dd34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.26rc2 AS build +FROM golang:1.25.7 AS build WORKDIR /yamllint-action COPY go.mod go.sum /yamllint-action/ RUN go mod download @@ -17,7 +17,7 @@ COPY . . RUN export CGO_ENABLED=0 && go build -o ./yamllint-action . FROM python:3.13.1-alpine3.19 -RUN pip install --no-cache-dir yamllint==1.35.1 && \ +RUN pip install --no-cache-dir yamllint==1.38.0 && \ adduser --disabled-password --gecos "" --home "/nonexistent" --shell "/sbin/nologin" --no-create-home --uid 10001 appuser COPY --from=build /yamllint-action/yamllint-action /yamllint-action COPY entrypoint.sh /entrypoint.sh