Skip to content

Commit

Permalink
Try manual docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
georgysavva committed Jun 8, 2021
1 parent a4f5225 commit 302dcb5
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/docker-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,18 @@ jobs:
username: '${{ secrets.IOTALEDGER_HUB_DOCKER_LOGIN }}'
password: '${{ secrets.IOTALEDGER_HUB_DOCKER_PASSWORD }}'

- name: Publish to Docker Hub
uses: docker/[email protected]
with:
build-args: |
mount='id=go_build_cache_mount,type=bind,source=/tmp/foo'
tags: iotaledger/goshimmer:develop
push: true
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new
# - name: Publish to Docker Hub
# uses: docker/[email protected]
# with:
# build-args: |
# mount='id=go_build_cache_mount,type=bind,source=/tmp/foo'
# tags: iotaledger/goshimmer:develop
# push: true
# cache-from: type=local,src=/tmp/.buildx-cache
# cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new

- name: Docker manual
run: docker buildx build --mount=id=go_build_cache_mount,type=bind,source=/tmp/foo --tag iotaledger/goshimmer:develop --cache-from type=local,src=/tmp/.buildx-cache --cache-to type=local,mode=max,dest=/tmp/.buildx-cache-new

- # Temp fix
# https://github.com/docker/build-push-action/issues/252
Expand Down

0 comments on commit 302dcb5

Please sign in to comment.