add docker-login shortcut to Makefile

This commit is contained in:
teddy931130 2025-01-15 20:45:53 +02:00
parent 62820feae5
commit 4cba330a71

View file

@ -2,7 +2,7 @@
# with Go source code. If you know what GOPATH is then you probably # with Go source code. If you know what GOPATH is then you probably
# don't need to bother with make. # don't need to bother with make.
.PHONY: geth all test lint fmt clean devtools help .PHONY: geth all test lint fmt clean devtools docker-login help
GOBIN = ./build/bin GOBIN = ./build/bin
GO ?= latest GO ?= latest
@ -47,6 +47,10 @@ devtools:
@type "solc" 2> /dev/null || echo 'Please install solc' @type "solc" 2> /dev/null || echo 'Please install solc'
@type "protoc" 2> /dev/null || echo 'Please install protoc' @type "protoc" 2> /dev/null || echo 'Please install protoc'
#? docker-login: Login to the ECR repo containing the go-ethereum image.
docker-login:
aws ecr get-login-password --region eu-central-1 | docker login --username AWS --password-stdin 861276097334.dkr.ecr.eu-central-1.amazonaws.com
#? help: Get more info on make commands. #? help: Get more info on make commands.
help: Makefile help: Makefile
@echo '' @echo ''