Skip to content

Commit

Permalink
Do not update latest tag for RC
Browse files Browse the repository at this point in the history
  • Loading branch information
ImTei committed Jan 15, 2024
1 parent 4df858d commit e57a322
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,13 @@ release: git-submodules
--skip-validate

@docker image push --all-tags testinprod/op-erigon
@docker manifest create testinprod/op-erigon:latest \
--amend testinprod/op-erigon:$$(echo ${VERSION} | cut -c 2- )-amd64 \
--amend testinprod/op-erigon:$$(echo ${VERSION} | cut -c 2- )-arm64
@docker manifest push testinprod/op-erigon:latest

@if echo "$(VERSION)" | grep -iq "rc"; then
@docker manifest create testinprod/op-erigon:latest \
--amend testinprod/op-erigon:$$(echo ${VERSION} | cut -c 2- )-amd64 \
--amend testinprod/op-erigon:$$(echo ${VERSION} | cut -c 2- )-arm64; \
@docker manifest push testinprod/op-erigon:latest; \
fi

# since DOCKER_UID, DOCKER_GID are default initialized to the current user uid/gid,
# we need separate envvars to facilitate creation of the erigon user on the host OS.
Expand Down

0 comments on commit e57a322

Please sign in to comment.