-
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.
Merge pull request #1453 from iotaledger/develop
Merge v0.7.1 changes to master
- Loading branch information
Showing
80 changed files
with
1,017 additions
and
680 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Client Lib Import Check | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- 'docs/**' | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
|
||
jobs: | ||
|
||
build: | ||
name: Import Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Setup Go 1.16.3 | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.16.3 | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run Import Check Script | ||
run: ./scripts/client_import_check.sh |
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 |
---|---|---|
|
@@ -14,13 +14,38 @@ jobs: | |
env: | ||
DOCKER_BUILDKIT: 1 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Publish to Docker Hub | ||
uses: docker/build-push-action@92e71463491f2d026a477188b8ad3a0fdd9d672c | ||
with: | ||
repository: iotaledger/goshimmer | ||
username: '${{ secrets.IOTALEDGER_HUB_DOCKER_LOGIN }}' | ||
password: '${{ secrets.IOTALEDGER_HUB_DOCKER_PASSWORD }}' | ||
tags: develop | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Cache Docker layers | ||
uses: actions/[email protected] | ||
with: | ||
path: /tmp/.buildx-cache | ||
key: ${{ runner.os }}-buildx-${{ github.sha }} | ||
restore-keys: | | ||
${{ runner.os }}-buildx- | ||
- name: Login to DockerHub | ||
uses: docker/[email protected] | ||
with: | ||
username: '${{ secrets.IOTALEDGER_HUB_DOCKER_LOGIN }}' | ||
password: '${{ secrets.IOTALEDGER_HUB_DOCKER_PASSWORD }}' | ||
|
||
- name: Publish to Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
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 | ||
|
||
- # Temp fix | ||
# https://github.com/docker/build-push-action/issues/252 | ||
# https://github.com/moby/buildkit/issues/1896 | ||
name: Move cache | ||
run: | | ||
rm -rf /tmp/.buildx-cache | ||
mv /tmp/.buildx-cache-new /tmp/.buildx-cache |
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
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
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
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
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
Oops, something went wrong.