-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docker): fix docker release (#39)
- Loading branch information
1 parent
0c8572a
commit 39d6ccf
Showing
2 changed files
with
16 additions
and
0 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 |
---|---|---|
|
@@ -29,6 +29,14 @@ jobs: | |
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Download private dependencies | ||
run: | | ||
git config --global url."https://${GITHUB_TOKEN}:[email protected]/".insteadOf "https://github.com/" | ||
go get github.com/armory-io/dinghy/pkg/parsers/yaml@master | ||
go mod vendor | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ARMORYIO_GITHUB_TOKEN }} | ||
|
||
- name: Build | ||
run: | | ||
GOOS=windows GOARCH=amd64 go build -o arm-${{ steps.get_version.outputs.VERSION }}-windows-amd64.exe main.go | ||
|
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 |
---|---|---|
|
@@ -21,6 +21,14 @@ jobs: | |
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Download private dependencies | ||
run: | | ||
git config --global url."https://${GITHUB_TOKEN}:[email protected]/".insteadOf "https://github.com/" | ||
go get github.com/armory-io/dinghy/pkg/parsers/yaml@master | ||
go mod vendor | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ARMORYIO_GITHUB_TOKEN }} | ||
|
||
- name: Fetch full history | ||
run: git fetch --prune --tags --unshallow | ||
|
||
|