Skip to content

Commit f43e17f

Browse files
adding manual override of binary publish to git.vdb.to for development/emergency (#282)
1 parent 2ddad81 commit f43e17f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/manual_publish.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: MANUAL Override Publish geth binary to release
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
giteaPublishTag:
6+
description: 'Package to publish TO on gitea; e.g. v1.10.25-statediff-4.2.1-alpha'
7+
required: true
8+
cercContainerTag:
9+
description: 'Tagged Container to extract geth binary FROM'
10+
required: true
11+
jobs:
12+
build:
13+
name: Manual override publish of geth binary FROM tagged release TO TAGGED package on git.vdb.to
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Copy ethereum binary file
17+
run: docker run --rm --entrypoint cat git.vdb.to/cerc-io/go-ethereum/go-ethereum:${{ github.event.inputs.cercContainerTag }} /usr/local/bin/geth > geth-linux-amd64
18+
- name: curl
19+
uses: enflo/curl-action@master
20+
with:
21+
curl: --user circcicd:${{ secrets.GITEA_TOKEN }} --upload-file geth-linux-amd64 https://git.vdb.to/api/packages/cerc-io/generic/go-ethereum/${{ github.event.inputs.giteaPublishTag }}/geth-linux-amd64

0 commit comments

Comments
 (0)