Skip to content

Commit

Permalink
Try to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Latorre committed Feb 18, 2025
1 parent 4188f39 commit 6df028a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and Push Docker image

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build Docker image
run: docker build -t ghcr.io/${{ github.repository }}:latest .

- name: Push Docker image
run: docker push ghcr.io/${{ github.repository }}:latest
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# pbs-exporter

## I no longer use proxmox backup server so development of this tool has ceased. Feel free to fork it
Fork from https://github.com/rare-magma/pbs-exporter

Bash script that uploads proxmox backup server API info to prometheus' pushgateway on a daily basis.
The idea is to build and offer a Container Image and provide instructions to deploy in Kubernetes.

## Dependencies

Expand All @@ -19,6 +19,10 @@ Bash script that uploads proxmox backup server API info to prometheus' pushgatew

## Installation

### With Kubernetes

TODO

### With Docker

#### docker-compose
Expand Down

0 comments on commit 6df028a

Please sign in to comment.