Skip to content

Commit

Permalink
Build arm64 image
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Mar 29, 2024
1 parent 3ea629e commit 280fe1b
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions openshift/drupal-repository/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,11 @@ ifeq ($(TAG),)
TAG = latest
endif

.PHONY: build push release
.PHONY: push release

default: build

run:
docker run -it --rm -u 100000 $(REPOSITORY):$(TAG) /bin/sh
build:
docker build -t $(REPOSITORY):$(TAG) ./
default: push

push:
docker push $(REPOSITORY):$(TAG)
docker buildx build --pull --platform linux/arm64,linux/amd64 -t $(REPOSITORY):$(TAG) ./ --push

release: build push

0 comments on commit 280fe1b

Please sign in to comment.