Skip to content

Merge pull request #48 from srcmkr/dependabot/nuget/CLApi/Swashbuckle… #31

Merge pull request #48 from srcmkr/dependabot/nuget/CLApi/Swashbuckle…

Merge pull request #48 from srcmkr/dependabot/nuget/CLApi/Swashbuckle… #31

name: Build and push Docker image to Docker Hub
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Docker image
run: docker build -f CLApi/Dockerfile -t srcmkr/changelogstream:latest .
- name: Login to Docker Hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Push Docker image
run: docker push srcmkr/changelogstream:latest