Skip to content

Commit

Permalink
chore: Add back GIT_HASH as needed for image name
Browse files Browse the repository at this point in the history
We need the short git hash for the image name.

Signed-off-by: crozzy <joseph.crosland@gmail.com>
  • Loading branch information
crozzy committed Feb 23, 2023
1 parent bb3a4be commit d565775
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/openshift/build_and_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set -exv
REPOSITORY="quay.io/app-sre"
IMAGE="${REPOSITORY}/clair"
GIT_HASH=`git rev-parse --short=7 HEAD`

git archive HEAD|
docker build -t clair-service:latest -
Expand Down

0 comments on commit d565775

Please sign in to comment.