Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ci-cd.yml #9

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -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 }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**CI/CD pipeline using GitHub Actions for the JavaScript-based frontend application and build docker image and push to docker repo**
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="apple-mobile-web-app-capable " content="yes" />

<!-- Page Title -->
<title>New Template — Slides 4.1 Template Generator</title>
<title>New Template — Slides 4.1 Template </title>

<!-- Compressed Styles -->
<link href="css/slides.min.css?41331" rel="stylesheet" type="text/css">
Expand Down Expand Up @@ -116,10 +116,10 @@
<div class="left"><a href="#" title="Slides Framework"><svg style="width:82px;height:24px"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#logo"></use></svg></a></div>
<div class="center">
<ul class="menu uppercase">
<li><a href="#">Home v1</a></li>
<li><a href="#">Contact us v1</a></li>
<li><a href="#">About us v1</a></li>
<li><a href="#">Signup v1</a></li>
<li><a href="#">Home v2</a></li>
<li><a href="#">Contact us v2</a></li>
<li><a href="#">About us v2</a></li>
<li><a href="#">Signup v2</a></li>
</ul>
</div>
<div class="right">
Expand Down