diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 5f29bc4..326c98c 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -2,9 +2,9 @@ name: Integration on: push: - branches: [main] + branches: [nodejsbranch] pull_request: - branches: [main] + branches: [nodejsbranch] jobs: build: @@ -41,3 +41,11 @@ jobs: cache: 'npm' - run: npm i - run: npm run test + - uses: actions/checkout@v2 + - run: docker build . -t visweswarji123/nodeapp + - run: echo "${{secrets.DOCKER_PASSWORD}}" | docker login -u ${{secrets.DOCKERHUB_USERNAME}} --password-stdin + + - run: echo "Pushing Docker image to DockerHub..." + + - run: docker push visweswarji123/nodeapp + diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f737fb1..da529c4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,4 +12,4 @@ jobs: - uses: actions/checkout@v2 - run: docker build . -t laithharden/nest-app - run: echo "${{secrets.DOCKER_PASSWORD}}" | docker login -u ${{secrets.DOCKERHUB_USERNAME}} --password-stdin - - run: docker push laithharden/nest-app + - run: docker push visweswarji123/mynodeapp diff --git a/README.md b/README.md index 9fe8812..ada2a28 100644 --- a/README.md +++ b/README.md @@ -26,13 +26,13 @@ [Nest](https://github.com/nestjs/nest) framework TypeScript starter repository. -## Installation +## Installationnnnnnnnnnnn ```bash $ npm install ``` -## Running the app +## Running the appppppppppp ```bash # development