Skip to content

Commit

Permalink
fix(docker): fix docker release (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jossuecito authored Dec 17, 2020
1 parent 0c8572a commit 39d6ccf
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/arm-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 39d6ccf

Please sign in to comment.