This commit is contained in:
parent
3519f486b9
commit
357aa50275
1 changed files with 4 additions and 3 deletions
|
@ -18,14 +18,15 @@ jobs:
|
||||||
git clone https://github.com/mdlayher/apcupsd_exporter.git
|
git clone https://github.com/mdlayher/apcupsd_exporter.git
|
||||||
cd apcupsd_exporter
|
cd apcupsd_exporter
|
||||||
go build ./cmd/apcupsd_exporter
|
go build ./cmd/apcupsd_exporter
|
||||||
ls -lha
|
sha256sum apcupsd_exporter | tee SHA256SUMS.txt
|
||||||
pwd
|
|
||||||
- name: upload
|
- name: upload
|
||||||
uses: https://codeberg.org/EntanglementGarden/actions/generic-upload@v0.1
|
uses: https://codeberg.org/EntanglementGarden/actions/generic-upload@v0.1
|
||||||
with:
|
with:
|
||||||
upload-username: ${{ secrets.DEPLOY_USER }} # must be a user that can upload to the registry
|
upload-username: ${{ secrets.DEPLOY_USER }} # must be a user that can upload to the registry
|
||||||
upload-token: ${{ secrets.DEPLOY_TOKEN }}
|
upload-token: ${{ secrets.DEPLOY_TOKEN }}
|
||||||
files: apcupsd_exporter/apcupsd_exporter
|
files: |
|
||||||
|
apcupsd_exporter/apcupsd_exporter
|
||||||
|
SHA256SUMS.txt
|
||||||
version: ${{ github.SHA }}
|
version: ${{ github.SHA }}
|
||||||
package: infra-apcupsd_exporter
|
package: infra-apcupsd_exporter
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue