From 2365e5bf71bb1282da77442074ed9c5e22f6f11a Mon Sep 17 00:00:00 2001 From: Tim Brust Date: Thu, 8 Mar 2018 11:28:28 +0100 Subject: [PATCH] chore: use automated refreshed_at --- Dockerfile | 3 ++- hooks/build | 2 ++ renovate.json | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 hooks/build 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" ] }