diff --git a/.woodpecker/image.yaml b/.woodpecker/image.yaml index fae5736..b06ebd1 100644 --- a/.woodpecker/image.yaml +++ b/.woodpecker/image.yaml @@ -1,4 +1,5 @@ # https://woodpecker-ci.org/plugins/docker-buildx +# enable Package unit and go to /scip/-/packages after building to link to proj variables: - &repo codeberg.org/${CI_REPO_OWNER}/io-exporter @@ -22,9 +23,10 @@ steps: platforms: linux/amd64 repo: *repo registry: codeberg.org - tags: latest,1-${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG} + tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG} username: ${CI_REPO_OWNER} password: from_secret: REGISTRY_TOKEN when: - event: [push] + event: [tag] + branch: main diff --git a/README.md b/README.md index 8c96c24..565b06b 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ docker compose run -v ./t:/pvc ioexporter /pvc/testfile Or use the pre-build image: ```default -docker run -u `id -u $USER` -v ./t:/pvc ghcr.io/tlinden/io-exporter:latest /pvc/testfile +docker run -u `id -u $USER` -v ./t:/pvc codeberg.org/scip/io-exporter:latest /pvc/testfile ``` ## Grafana @@ -98,11 +98,11 @@ as a starting point to integrate it into your monitoring setup. It looks like this: -![Screenshot](https://github.com/TLINDEN/io-exporter/raw/branch/main/grafana/screenshot.png) +![Screenshot](https://codeberg.org/scip/io-exporter/raw/branch/main/grafana/screenshot.png) # Report bugs -[Please open an issue](https://github.com/TLINDEN/io-exporter/issues). Thanks! +[Please open an issue](https://codeberg.org/scip/io-exporter/issues). Thanks! # License