mirror of
https://github.com/rancher/k3k.git
synced 2026-08-19 04:16:16 +00:00
Use ibuildthecloud/github-release in github action (#44)
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user