From daad64b9f1db205c6cd6ee2430132761ef84976b Mon Sep 17 00:00:00 2001 From: Robin Scherrer Date: Tue, 6 Jul 2021 20:39:55 +0200 Subject: [PATCH] prepare initial release --- .github/workflows/release.yml | 78 +++++++++++++++++++++++++++++++++++ CHANGELOG.md | 5 +++ README.md | 14 +++++++ 3 files changed, 97 insertions(+) create mode 100644 .github/workflows/release.yml create mode 100644 CHANGELOG.md create mode 100644 README.md diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..a4c4598 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,78 @@ +--- +on: + release: + types: + - created + +jobs: + release-linux-amd64: + name: release linux/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: wangyoucao577/go-release-action@v1.18 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: amd64 + binary_name: dologen + + release-linux-arm: + name: release linux/arm + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: wangyoucao577/go-release-action@v1.18 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: arm + binary_name: dologen + + release-linux-arm64: + name: release linux/arm64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: wangyoucao577/go-release-action@v1.18 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: arm64 + binary_name: dologen + + release-darwin-amd64: + name: release darwin/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: wangyoucao577/go-release-action@v1.18 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: darwin + goarch: amd64 + binary_name: dologen + + release-darwin-arm64: + name: release darwin/arm64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: wangyoucao577/go-release-action@v1.18 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: darwin + goarch: arm64 + binary_name: dologen + + release-windows-amd64: + name: release windows/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: wangyoucao577/go-release-action@v1.18 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: windows + goarch: amd64 + binary_name: dologen diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..67b65b3 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,5 @@ +# Changelog + +## [v1.0.0](https://github.com/containeroo/dologen/tree/v1.0.0) (2021-07-06) + +Initial release diff --git a/README.md b/README.md new file mode 100644 index 0000000..cdf9353 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# dologen + +A small cli tool to generate a Docker `config.json` with registry credentials. Ideal for Kubernetes secrets. + +## Usage + +**Note:** `username`, `password` and `server` are required! + +``` + -b, --base64 output result base64 encoded + -p, --password string password for docker registry + -s, --server string docker registry server + -u, --username string username for docker registry +```