Skip to content

Commit

Permalink
Use a fix length of sha for docker tags (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
amishas157 authored Aug 12, 2024
1 parent cb48295 commit bf1a12d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SUDO := $(shell docker version >/dev/null 2>&1 || echo "sudo")
# https://github.com/opencontainers/image-spec/blob/master/annotations.md
BUILD_DATE := $(shell date -u +%FT%TZ)

ETLHASH=stellar/stellar-etl:$(shell git rev-parse --short HEAD)
ETLHASH=stellar/stellar-etl:$(shell git rev-parse --short=9 HEAD)

docker-build:
$(SUDO) docker build --platform linux/amd64 --pull --no-cache --label org.opencontainers.image.created="$(BUILD_DATE)" \
Expand Down

0 comments on commit bf1a12d

Please sign in to comment.