Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Commit

Permalink
fix(ci): dockerhub deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Steinbrück committed Jun 30, 2020
1 parent b604952 commit d89023a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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)

0 comments on commit d89023a

Please sign in to comment.