Skip to content

Commit

Permalink
Rebrand yace to nerdswords and publish on ghcr (prometheus-community#436
Browse files Browse the repository at this point in the history
)
  • Loading branch information
thomaspeitz authored Sep 1, 2021
1 parent 1c7b3d7 commit 5c8c74d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
1 change: 0 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
branches: [ master ]

jobs:

build:
name: Build
runs-on: ubuntu-latest
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ jobs:
run: docker build -t yace --build-arg VERSION=${{ github.event.release.tag_name }} .
- name: Log into docker
env:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_REGISTRY_URL: quay.io
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
DOCKER_REGISTRY_URL: ghcr.io
DOCKER_USERNAME: ${{ github.actor }}
run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD $DOCKER_REGISTRY_URL
- name: Release if tagged
if: "!startswith(github.ref, 'refs/tags/v')"
run: exit 78
- name: Tag docker image
run: docker tag yace quay.io/invisionag/yet-another-cloudwatch-exporter:${{ github.event.release.tag_name }}
run: docker tag yace ghcr.io/nerdswords/yet-another-cloudwatch-exporter:${{ github.event.release.tag_name }}
- name: Build && release binaries
uses: docker://goreleaser/goreleaser:v0.120.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: release
- name: Publish docker image
run: docker push quay.io/invisionag/yet-another-cloudwatch-exporter:${{ github.event.release.tag_name }}
run: docker push ghcr.io/nerdswords/yet-another-cloudwatch-exporter:${{ github.event.release.tag_name }}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2018 InVision Group
Copyright 2021 NERDSWORDS

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# YACE - yet another cloudwatch exporter [![Docker Image](https://quay.io/repository/invisionag/yet-another-cloudwatch-exporter/status?token=58e4108f-9e6f-44a4-a5fd-0beed543a271 "Docker Repository on Quay")](https://quay.io/repository/invisionag/yet-another-cloudwatch-exporter)
# YACE - yet another cloudwatch exporter

## What is this organisation?

[Medium Article about rebranding yace](https://medium.com/@IT_Supertramp/reorganizing-yace-79d7149b9584)

## Project Status

Expand All @@ -12,7 +16,7 @@ Only latest version gets security updates. We won't support older versions.

## Reporting a Vulnerability

In case of a vulnerability please directly contact us via mail - security@invision.de
In case of a vulnerability please directly contact us via mail - security@nerdswords.de

Do not disclose any specifics in github issues! - Thank you.

Expand Down Expand Up @@ -82,8 +86,8 @@ We will contact you as soon as possible.

## Image

* `quay.io/invisionag/yet-another-cloudwatch-exporter:x.x.x` e.g. 0.5.0
* See [Releases](https://github.com/ivx/yet-another-cloudwatch-exporter/releases) for binaries
* `ghcr.io/nerdswords/yet-another-cloudwatch-exporter:x.x.x` e.g. 0.5.0
* See [Releases](https://github.com/nerdswords/yet-another-cloudwatch-exporter/releases) for binaries

## Configuration

Expand Down Expand Up @@ -393,7 +397,7 @@ The following IAM permission is required to discover tagged API Gateway REST API

```shell
docker run -d --rm -v $PWD/credentials:/exporter/.aws/credentials -v $PWD/config.yml:/tmp/config.yml \
-p 5000:5000 --name yace quay.io/invisionag/yet-another-cloudwatch-exporter:vx.xx.x # release version as tag - Do not forget the version 'v'
-p 5000:5000 --name yace ghcr.io/nerdswords/yet-another-cloudwatch-exporter:vx.xx.x # release version as tag - Do not forget the version 'v'
```

Expand Down Expand Up @@ -426,7 +430,7 @@ spec:
spec:
containers:
- name: yace
image: quay.io/invisionag/yet-another-cloudwatch-exporter:vx.x.x # release version as tag - Do not forget the version 'v'
image: ghcr.io/nerdswords/yet-another-cloudwatch-exporter:vx.x.x # release version as tag - Do not forget the version 'v'
imagePullPolicy: IfNotPresent
args:
- "--config.file=/tmp/config.yml"
Expand Down

0 comments on commit 5c8c74d

Please sign in to comment.