|
|
@ -125,6 +125,8 @@ jobs:
|
|
|
|
binaries:
|
|
|
|
binaries:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: [test, cross]
|
|
|
|
needs: [test, cross]
|
|
|
|
|
|
|
|
env:
|
|
|
|
|
|
|
|
RELEASE_OUT: ./release-out
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
-
|
|
|
|
name: Checkout
|
|
|
|
name: Checkout
|
|
|
@ -159,24 +161,17 @@ jobs:
|
|
|
|
-
|
|
|
|
-
|
|
|
|
name: Build ${{ steps.prep.outputs.tag }}
|
|
|
|
name: Build ${{ steps.prep.outputs.tag }}
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
./hack/release "${{ steps.prep.outputs.tag }}" release-out
|
|
|
|
./hack/release ${{ env.RELEASE_OUT }}
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
PLATFORMS: ${{ env.PLATFORMS }},darwin/amd64,darwin/arm64,windows/amd64,windows/arm64
|
|
|
|
PLATFORMS: ${{ env.PLATFORMS }},darwin/amd64,darwin/arm64,windows/amd64,windows/arm64
|
|
|
|
CACHEDIR_FROM: /tmp/.buildx-cache/${{ env.CACHEKEY_BINARIES }}
|
|
|
|
CACHEDIR_FROM: /tmp/.buildx-cache/${{ env.CACHEKEY_BINARIES }}
|
|
|
|
-
|
|
|
|
|
|
|
|
name: Move artifacts
|
|
|
|
|
|
|
|
run: |
|
|
|
|
|
|
|
|
mv ./release-out/**/* ./release-out/
|
|
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
name: Upload artifacts
|
|
|
|
name: Upload artifacts
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
name: buildx
|
|
|
|
name: buildx
|
|
|
|
path: ./release-out/*
|
|
|
|
path: ${{ env.RELEASE_OUT }}/*
|
|
|
|
if-no-files-found: error
|
|
|
|
if-no-files-found: error
|
|
|
|
-
|
|
|
|
|
|
|
|
name: Set up Docker Buildx
|
|
|
|
|
|
|
|
uses: docker/setup-buildx-action@v1
|
|
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
name: Docker meta
|
|
|
|
name: Docker meta
|
|
|
|
id: meta
|
|
|
|
id: meta
|
|
|
@ -214,5 +209,5 @@ jobs:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
draft: true
|
|
|
|
draft: true
|
|
|
|
files: ./release-out/*
|
|
|
|
files: ${{ env.RELEASE_OUT }}/*
|
|
|
|
name: ${{ steps.prep.outputs.tag }}
|
|
|
|
name: ${{ steps.prep.outputs.tag }}
|
|
|
|