Skip to content

Commit

Permalink
adds make target to build-push
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytheleg committed May 22, 2024
1 parent 61ace90 commit 7be78b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ frontend:
clean:
rm -f aro-hcp-frontend

build-push: image push

image:
pushd .. && git archive --output frontend/archive.tar.gz HEAD && popd
docker build --platform="linux/amd64" -f "./Dockerfile" -t ${ARO_HCP_FRONTEND_IMAGE} .
rm -f archive.tar.gz

push:
docker push ${ARO_HCP_FRONTEND_IMAGE}

deploy:
@test "${RESOURCE_GROUP}" != "" || (echo "RESOURCE_GROUP must be defined" && exit 1)
FRONTEND_MI_CLIENT_ID=$(shell az deployment group show \
Expand Down

0 comments on commit 7be78b4

Please sign in to comment.