Skip to content

Commit

Permalink
Change image naming
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Würbach <johannes.wuerbach@googlemail.com>
  • Loading branch information
johanneswuerbach committed Jan 13, 2019
1 parent c666a52 commit d7ba680
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,24 @@ all: build

build:
@./build.sh "$(REPOSITORY)/$(NAME)" "" "$(SUFFIX)" $(VERSIONS)
@./build.sh "$(REPOSITORY)/$(NAME)-arm32v7-linux" "arm32v7/" "$(SUFFIX)" $(VERSIONS)
@./build.sh "$(REPOSITORY)/$(NAME)-arm64v8-linux" "arm64v8/" "$(SUFFIX)" $(VERSIONS)
@./build.sh "$(REPOSITORY)/$(NAME)-amd64-linux" "" "$(SUFFIX)" $(VERSIONS)
@./build.sh "$(REPOSITORY)/$(NAME)-armv7-linux" "arm32v7/" "$(SUFFIX)" $(VERSIONS)
@./build.sh "$(REPOSITORY)/$(NAME)-arm64-linux" "arm64v8/" "$(SUFFIX)" $(VERSIONS)
# uclibc doens't support ppc64le
@./build.sh "$(REPOSITORY)/$(NAME)-ppc64le-linux" "ppc64le/" "$(SUFFIX)" glibc

tag:
docker tag "$(REPOSITORY)/$(NAME):uclibc" "$(REPOSITORY)/$(NAME):latest"
docker tag "$(REPOSITORY)/$(NAME)-arm32v7-linux:uclibc" "$(REPOSITORY)/$(NAME)-arm32v7-linux:latest"
docker tag "$(REPOSITORY)/$(NAME)-arm64v8-linux:uclibc" "$(REPOSITORY)/$(NAME)-arm64v8-linux:latest"
docker tag "$(REPOSITORY)/$(NAME)-amd64-linux:uclibc" "$(REPOSITORY)/$(NAME)-amd64-linux:latest"
docker tag "$(REPOSITORY)/$(NAME)-armv7-linux:uclibc" "$(REPOSITORY)/$(NAME)-armv7-linux:latest"
docker tag "$(REPOSITORY)/$(NAME)-arm64-linux:uclibc" "$(REPOSITORY)/$(NAME)-arm64-linux:latest"
docker tag "$(REPOSITORY)/$(NAME)-ppc64le-linux:glibc" "$(REPOSITORY)/$(NAME)-ppc64le-linux:latest"

push:
@./push.sh "$(REPOSITORY)/$(NAME)" "" "$(SUFFIX)" $(VERSIONS)
@./push.sh "$(REPOSITORY)/$(NAME)-arm32v7-linux" "arm32v7/" "$(SUFFIX)" $(VERSIONS)
@./push.sh "$(REPOSITORY)/$(NAME)-arm64v8-linux" "arm64v8/" "$(SUFFIX)" $(VERSIONS)
@./push.sh "$(REPOSITORY)/$(NAME)-amd64-linux" "" "$(SUFFIX)" $(VERSIONS)
@./push.sh "$(REPOSITORY)/$(NAME)-armv7-linux" "arm32v7/" "$(SUFFIX)" $(VERSIONS)
@./push.sh "$(REPOSITORY)/$(NAME)-arm64-linux" "arm64v8/" "$(SUFFIX)" $(VERSIONS)
# uclibc doens't support ppc64le
@./push.sh "$(REPOSITORY)/$(NAME)-ppc64le-linux" "ppc64le/" "$(SUFFIX)" glibc

Expand Down

0 comments on commit d7ba680

Please sign in to comment.