Skip to content

Commit

Permalink
devops.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane-3 authored Jan 6, 2024
1 parent e178436 commit 99e55dd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/devops.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: DevOps
on:
push:
branches:
- master
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: registry.hub.docker.com
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- run: |
docker build -t registry.hub.docker.com/shanechellam/shaastra .
docker push registry.hub.docker.com/shanechellam/shaastra

0 comments on commit 99e55dd

Please sign in to comment.