diff --git a/Dockerfile b/Dockerfile index 48a418a..e89719e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ FROM node:carbon-alpine@sha256:eec36f96b5a0d4685e5a9eebee19bfae37232d4fa93ca4fc218107676c6b1326 LABEL maintainer "Tim Brust " -ENV REFRESHED_AT 2018-07-08 +ARG REFRESHED_AT +ENV REFRESHED_AT $REFRESHED_AT RUN apk add --no-cache \ git \ diff --git a/hooks/build b/hooks/build new file mode 100644 index 0000000..6b61d1c --- /dev/null +++ b/hooks/build @@ -0,0 +1,2 @@ +#!/bin/bash +docker build --build-arg REFRESHED_AT="$(date +%Y-%m-%d)" -f "$DOCKERFILE_PATH" -t "$IMAGE_NAME" . diff --git a/renovate.json b/renovate.json index f45d8f1..243d9ce 100644 --- a/renovate.json +++ b/renovate.json @@ -1,5 +1,6 @@ { "extends": [ - "config:base" + "config:base", + "default:automergeDigest" ] }