Skip to content

Commit

Permalink
feat: Updated dockerhub readme in CI pipeline
Browse files Browse the repository at this point in the history
Closes #30
  • Loading branch information
devatherock committed May 26, 2023
1 parent dc526b2 commit 748b1ff
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
auth:
username: $DOCKER_USERNAME
password: $DOCKER_PASSWORD
<<: *resource_class
<<: *work_directory
steps:
- checkout
Expand All @@ -91,6 +92,7 @@ jobs:
./gradlew check sonar -Dsonar.login=$SONAR_TOKEN -Dgraalvm=true
- store_test_results:
path: build/test-results

build:
executor: jdk-executor
steps:
Expand All @@ -114,6 +116,18 @@ jobs:
- store_test_results:
path: build/test-results

dockerhub_readme:
executor: docker-executor
steps:
- checkout
- run: |
docker run -v $PWD:/workspace \
-e DOCKERHUB_USERNAME \
-e DOCKERHUB_PASSWORD \
-e DOCKERHUB_REPOSITORY='devatherock/ldap-search-api' \
-e README_FILEPATH='/workspace/README.md' \
peterevans/dockerhub-description:3.4.1
integration_test:
machine:
image: ubuntu-2004:202010-01
Expand Down Expand Up @@ -214,6 +228,12 @@ workflows:
- docker-credentials
- changelog-updater-credentials
<<: *pr_filter
- dockerhub_readme:
context:
- docker-credentials
- dockerhub-readme-credentials
requires:
- changelog_updater
- validate_yamls:
context:
- docker-credentials
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
- [#7](https://github.com/devatherock/ldap-search-api/issues/7): Query parameter to specify the attributes to be returned in the result
- [#27](https://github.com/devatherock/ldap-search-api/issues/27): Tests for built-in endpoints like `/health`

### Changed
- [#30](https://github.com/devatherock/ldap-search-api/issues/30): Updated dockerhub readme in CI pipeline

## [0.4.0] - 2023-05-22
### Added
- [#2](https://github.com/devatherock/ldap-search-api/issues/2): Unit tests
Expand Down

0 comments on commit 748b1ff

Please sign in to comment.