Skip to content

Commit

Permalink
Upd: build step in release towards dockerhub
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <george.padayatti@igrant.io>
  • Loading branch information
georgepadayatti committed Nov 15, 2023
1 parent 76bb6d5 commit 3926701
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ jobs:
# Build docker image, publish docker image to docker hub
- name: Build docker image, publish docker image to docker hub
shell: 'script -q -e -c "bash {0}"'
run: |
make build/docker/deployable/dockerhub publish/dockerhub
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ build/docker/deployable: $(DIST_FILE) ## Builds deployable docker image for prev

.PHONY: build/docker/deployable/dockerhub
build/docker/deployable/dockerhub: ## Builds deployable docker image for docker hub
docker build -t $(DOCKER_HUB_IMAGE):$(DOCKER_HUB_TAG) -f resources/docker/production/Dockerfile.dockerhub .
docker build --platform=linux/amd64 -t $(DOCKER_HUB_IMAGE):$(DOCKER_HUB_TAG) -f resources/docker/production/Dockerfile.dockerhub .
echo "$(DOCKER_HUB_IMAGE):$(DOCKER_HUB_TAG)" > $(DEPLOY_VERSION_FILE)

.PHONY: publish
Expand Down

0 comments on commit 3926701

Please sign in to comment.