Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
344 B · 9 lines
12345678910#!/bin/bashset -euprintf "variables:\n DOCKERFILE_HASH: $(git hash-object docker/build.Dockerfile)" > .ci/dockerfile-hash.yamlgit add .ci/dockerfile-hash.yamlif ! git diff-index --quiet --cached HEAD --; then git commit --amend -C HEAD --no-verify echo "postcommit hook automatically amended commit to include new dockerfile hash"fi