Skip to content

Commit

Permalink
added workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vital987 committed Dec 31, 2023
1 parent ab9eeda commit 4ca4eda
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/buildPushDockerImage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and Push Docker Image
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
buildAndPushDockerImage:
name: Build & Push Docker Image
runs-on: ubuntu-latest
steps:
- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USR }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push Docker images
uses: docker/[email protected]
with:
push: true
tags:
${{ github.repository }}:latest

0 comments on commit 4ca4eda

Please sign in to comment.