diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eabcb0e5..beb5cdaa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,16 +16,17 @@ jobs: with: registry: docker.io image: rancher/dapper:v0.5.5 - options: -v ${{ github.workspace }}:/work -v /var/run/docker.sock:/var/run/docker.sock + options: -v ${{ github.workspace }}:/work run: | cd /work && dapper ci - name: Publish Binaries - uses: fnkr/github-action-ghr@v1 - if: startsWith(github.ref, 'refs/tags/') - env: - GHR_PATH: ${{ github.workspace }}/bin/ - GITHUB_TOKEN: ${{ secrets.TOKEN }} - GHR_REPLACE: true + uses: addnab/docker-run-action@v3 + with: + registry: docker.io + image: ibuildthecloud/github-release:v0.0.1 + options: -v ${{ github.workspace }}:/work + run: | + /bin/drone-github-release --api_key=${{ secrets.TOKEN }} --files /work/bin/* --prerelease true - name: Docker Hub Login uses: docker/login-action@v2 with: