Skip to content

Commit

Permalink
Merge pull request #9 from uselagoon/various-fixes
Browse files Browse the repository at this point in the history
Fix CI build workflow
  • Loading branch information
smlx authored Feb 1, 2022
2 parents 092541c + 0c9e46c commit 962e02a
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 18 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@ jobs:
with:
version: latest
args: build --snapshot --rm-dist
- name: Upload binaries
- name: Tar up binaries
# work around limitations in the upload/download artifact actions
# https://github.com/actions/download-artifact#limitations
run: tar -cvf dist.tar dist
- name: Upload binaries tar file
uses: actions/upload-artifact@v2
with:
name: dist
path: dist
name: dist.tar
path: dist.tar
buildimage:
strategy:
matrix:
Expand All @@ -33,11 +37,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Download binaries
- name: Download binaries tar file
uses: actions/download-artifact@v2
with:
name: dist
path: dist
name: dist.tar
- name: Untar binaries
run: tar -xvf dist.tar
- name: Login to GHCR
uses: docker/login-action@v1
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
uses: golangci/[email protected]
with:
version: latest
args: --timeout=2m
commitlint:
runs-on: ubuntu-latest
steps:
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload binaries
- name: Tar up binaries
run: tar -cvf dist.tar dist
- name: Upload binaries tar file
uses: actions/upload-artifact@v2
with:
name: dist
path: dist
name: dist.tar
path: dist.tar
releaseimage:
strategy:
matrix:
Expand All @@ -75,11 +77,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Download binaries
- name: Download binaries tar file
uses: actions/download-artifact@v2
with:
name: dist
path: dist
name: dist.tar
- name: Untar binaries
run: tar -xvf dist.tar
- name: Login to GHCR
uses: docker/login-action@v1
with:
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/tag-to-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload binaries
- name: Tar up binaries
run: tar -cvf dist.tar dist
- name: Upload binaries tar file
uses: actions/upload-artifact@v2
with:
name: dist
path: dist
name: dist.tar
path: dist.tar
releaseimage:
strategy:
matrix:
Expand All @@ -40,11 +42,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Download binaries
- name: Download binaries tar file
uses: actions/download-artifact@v2
with:
name: dist
path: dist
name: dist.tar
- name: Untar binaries
run: tar -xvf dist.tar
- name: Login to GHCR
uses: docker/login-action@v1
with:
Expand Down

0 comments on commit 962e02a

Please sign in to comment.