Skip to content

Merge pull request #89 from AngeloDotNet/develop #19

Merge pull request #89 from AngeloDotNet/develop

Merge pull request #89 from AngeloDotNet/develop #19

name: Push ConfigurazioniSvc to DockerHub
on:
push:
branches: [ main ]
paths:
- 'src/ConfigurazioniSvc/ConfigurazioniSvc/**'
- 'src/ConfigurazioniSvc/ConfigurazioniSvc.BusinessLayer/**'
- 'src/ConfigurazioniSvc/ConfigurazioniSvc.DataAccessLayer/**'
- 'src/ConfigurazioniSvc/ConfigurazioniSvc.Migrations/**'
- 'src/ConfigurazioniSvc/ConfigurazioniSvc.Shared/**'
workflow_dispatch:
jobs:
build:
name: Push images to DockerHub
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Login to Docker Hub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Build and push Configurazioni
uses: docker/[email protected]
with:
context: .
file: ./src/ConfigurazioniSvc/ConfigurazioniSvc/Dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/gswca-configurazioni:latest