Skip to content

Commit

Permalink
Back to docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
beezz committed Jun 27, 2023
1 parent 23395d2 commit c243b93
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM redis:7.0.10

LABEL org.opencontainers.image.source=https://github.com/getsentry/docker-redis-cluster
LABEL org.opencontainers.image.source https://github.com/getsentry/docker-redis-cluster
LABEL maintainer="Johan Andersson <Grokzen@gmail.com>"

# Some Environment Variables
Expand Down
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ help:
@echo " cli run redis-cli inside the container on the server with port 7000"

build:
docker buildx create --name multiarch --driver docker-container --use
docker buildx build --push --build-arg redis_version=7.0.10 --platform linux/amd64,linux/arm64 --tag ghcr.io/getsentry/redis-cluster:7.0.10 .
docker buildx build --load --output type=docker --build-arg redis_version=7.0.10 --platform linux/arm64 --tag ghcr.io/getsentry/docker-redis-cluster:7.0.10-arm64 .
docker push ghcr.io/getsentry/docker-redis-cluster:7.0.10-arm64
docker buildx build --load --output type=docker --build-arg redis_version=7.0.10 --platform linux/amd64 --tag ghcr.io/getsentry/docker-redis-cluster:7.0.10-amd64 .
docker push ghcr.io/getsentry/docker-redis-cluster:7.0.10-amd64
docker manifest create ghcr.io/getsentry/docker-redis-cluster:7.0.10 --amend ghcr.io/getsentry/docker-redis-cluster:7.0.10-amd64 --amend ghcr.io/getsentry/docker-redis-cluster:7.0.10-arm64
docker manifest push --purge ghcr.io/getsentry/docker-redis-cluster:7.0.10

up:
@echo "Ensure that you have run `make build` to use the latest image"
Expand Down

0 comments on commit c243b93

Please sign in to comment.