Skip to content

Commit

Permalink
chore: Remove publishing sipi docker image because this build is brok…
Browse files Browse the repository at this point in the history
…en (DEV-1848) (#2556)
  • Loading branch information
seakayone committed Mar 28, 2023
1 parent 72e5f92 commit 71f75fa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docker-publish.yml
Expand Up @@ -16,7 +16,11 @@ jobs:
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Build and publish all images to Dockerhub
- name: Build and publish dsp-api image to Dockerhub
run: |
echo ${{ secrets.DOCKER_HUB_TOKEN }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin
make docker-publish
make docker-publish-dsp-api-image
# - name: Build and publish sipi images to Dockerhub
# run: |
# echo ${{ secrets.DOCKER_HUB_TOKEN }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin
# make docker-publish-sipi-image
11 changes: 7 additions & 4 deletions Makefile
Expand Up @@ -40,21 +40,24 @@ structurizer: ## starts the structurizer and serves c4 architecture docs
.PHONY: build
build: docker-build ## build all targets (excluding docs)

# add DOCKER_BUILDKIT=1 to enable buildkit logging as info
# https://github.com/sbt/sbt-native-packager/issues/1371

.PHONY: docker-build-dsp-api-image
docker-build-dsp-api-image: # build and publish dsp-api docker image locally
@sbt "webapi / Docker / publishLocal"
export DOCKER_BUILDKIT=1; sbt "webapi / Docker / publishLocal"

.PHONY: docker-publish-dsp-api-image
docker-publish-dsp-api-image: # publish dsp-api image to Dockerhub
@sbt "webapi / Docker / publish"
export DOCKER_BUILDKIT=1; sbt "webapi / Docker / publish"

.PHONY: docker-build-sipi-image
docker-build-sipi-image: # build and publish sipi docker image locally
@sbt "sipi / Docker / publishLocal"
export DOCKER_BUILDKIT=1; sbt "sipi / Docker / publishLocal"

.PHONY: docker-publish-sipi-image
docker-publish-sipi-image: # publish sipi image to Dockerhub
@sbt "sipi / Docker / publish"
export DOCKER_BUILDKIT=1; sbt "sipi / Docker / publish"

.PHONY: docker-build
docker-build: docker-build-dsp-api-image docker-build-sipi-image ## build and publish all Docker images locally
Expand Down

0 comments on commit 71f75fa

Please sign in to comment.