Skip to content

Commit

Permalink
Create docker.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
rskTech authored Nov 21, 2024
1 parent 8b0651f commit 48cd014
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Docker CI
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Docker login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push image
uses: docker/build-push-action@v3
with:
push: true
tags: rajendrait99/workflow:latest

0 comments on commit 48cd014

Please sign in to comment.