diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml new file mode 100644 index 0000000..21c44d2 --- /dev/null +++ b/.github/workflows/ci-cd.yml @@ -0,0 +1,18 @@ +name: CI/CD Pipeline +on: + push: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Build and push docker Image + uses: mr-smithers-excellent/docker-build-push@v4 + with: + image: snehalvelankar/cicd + registry: docker.io + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} diff --git a/README.md b/README.md new file mode 100644 index 0000000..89193fe --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +**CI/CD pipeline using GitHub Actions for the JavaScript-based frontend application and build docker image and push to docker repo** diff --git a/index.html b/index.html index 8083e53..6f148e6 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ -