From 4cba330a7121beaff1bb08452ea5c611f7f618e2 Mon Sep 17 00:00:00 2001 From: teddy931130 Date: Wed, 15 Jan 2025 20:45:53 +0200 Subject: [PATCH] add docker-login shortcut to Makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f4932165a4..7f079b3359 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # with Go source code. If you know what GOPATH is then you probably # 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 GO ?= latest @@ -47,6 +47,10 @@ devtools: @type "solc" 2> /dev/null || echo 'Please install solc' @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: Makefile @echo ''