-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a4f5225
commit 302dcb5
Showing
1 changed file
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|