Skip to content

Commit f8d725f

Browse files
Merge pull request #4 from product-os/klutchell-patch-1
Update to v1.31.0
2 parents bd1c366 + ef19b26 commit f8d725f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@ FROM alpine:latest AS build
33

44
RUN apk add --no-cache github-cli
55

6-
# https://github.com/palantir/policy-bot/actions/runs/5488519867
7-
ARG GH_RUN_ID=5488519867
6+
# https://github.com/palantir/policy-bot/actions/runs/5685648464
7+
ARG GH_RUN_ID=5685648464
88

99
RUN --mount=type=secret,id=GITHUB_TOKEN \
1010
GH_TOKEN=$(cat < /run/secrets/GITHUB_TOKEN) gh run download -R palantir/policy-bot ${GH_RUN_ID} \
1111
&& find dist -type f -name '*.tgz' | xargs tar -zxvf \
1212
&& ln -s $(find . -name 'policy-bot-*' -maxdepth 1) build \
1313
&& readlink -n build | awk -F'/' '{print $2}' > build/.version
1414

15-
1615
# https://hub.docker.com/r/palantirtechnologies/policy-bot
1716
# https://github.com/palantir/policy-bot/blob/develop/docker/Dockerfile
1817
FROM alpine
@@ -34,9 +33,5 @@ COPY src/config/policy-bot.example.yml /secrets/policy-bot.yml
3433
COPY src/docker/ca-certificates.crt /etc/ssl/certs/
3534
COPY src/docker/mime.types /etc/
3635

37-
# See: https://github.com/palantir/policy-bot/issues/598
38-
# See: https://github.com/palantir/policy-bot/blob/ba3ba7ccc4a2c6372bde23c8dbf2a177572157ea/README.md#invalidate-on-push
39-
ENV POLICYBOT_OPTIONS_DO_NOT_LOAD_COMMIT_PUSHED_DATE true
40-
4136
ENTRYPOINT ["bin/policy-bot"]
4237
CMD ["server", "--config", "/secrets/policy-bot.yml"]

0 commit comments

Comments
 (0)