From d89023a84375380346203c7df70cb30f3c54fca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20Steinbr=C3=BCck?= Date: Tue, 30 Jun 2020 21:28:21 +0200 Subject: [PATCH] fix(ci): dockerhub deployment --- .github/workflows/test-build-release.yml | 3 +-- README.md | 13 ++++++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-build-release.yml b/.github/workflows/test-build-release.yml index 996880c..356b22d 100644 --- a/.github/workflows/test-build-release.yml +++ b/.github/workflows/test-build-release.yml @@ -36,8 +36,7 @@ jobs: - name: Tag and push Docker image run: | - DOCKERHUB_USERNAME=`echo "${IMAGE}" | awk -F"/" '{print $1}'` - echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u $DOCKERHUB_USERNAME --password-stdin + echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u ${{ secrets.DOCKERHUB_USER }} --password-stdin # docker build docker build -t ${IMAGE}:${{ steps.dump-version.outputs.new_tag }} . -f src/Dockerfile # docker push images diff --git a/README.md b/README.md index 160d1cc..1b17634 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ See [action.yml](action.yml) ```yml steps: -- uses: docker://p1nkun1c0rns/prometheus-operator-lint-action:v1.0.0 +- uses: docker://p1nkun1c0rns/prometheus-operator-lint-action:v2.0.3 env: INPUT_PATH: "./" INPUT_FILES: ".yaml" @@ -37,7 +37,7 @@ steps: ```yml steps: -- uses: docker://p1nkun1c0rns/prometheus-operator-lint-action:v1.0.0 +- uses: docker://p1nkun1c0rns/prometheus-operator-lint-action:v2.0.3 env: INPUT_PATH: "./DEV/monitoring,./TEST/monitoring,./PROD/monitoring" INPUT_FILES: "*.yaml" @@ -57,4 +57,11 @@ git clone https://github.com/p1nkun1c0rns/prometheus-operator-lint-action.git The scripts and documentation in this project are released under the [MIT License](LICENSE) -## TODOs +## Release + +- create new branch +- make your changes, if needed +- commit your changes like + - Patch Release: `fix(script): validate input file to prevent empty files` + - Minor Release: `feat(dockerimage): add open for multiple input files` + - Major Release [look her](https://github.com/mathieudutour/github-tag-action/blob/master/README.md)