Use ibuildthecloud/github-release in github action (#44)

Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
This commit is contained in:
Hussein Galal
2023-06-20 20:21:33 +03:00
committed by GitHub
parent da3ba1b5ff
commit d9eafbb1d2
+8 -7
View File
@@ -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: