File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,15 @@ FROM alpine:latest AS build
33
44RUN 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
99RUN --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
1817FROM alpine
@@ -34,9 +33,5 @@ COPY src/config/policy-bot.example.yml /secrets/policy-bot.yml
3433COPY src/docker/ca-certificates.crt /etc/ssl/certs/
3534COPY 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-
4136ENTRYPOINT ["bin/policy-bot" ]
4237CMD ["server" , "--config" , "/secrets/policy-bot.yml" ]
You can’t perform that action at this time.
0 commit comments