Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change image naming #22

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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