Skip to content

Push AutenticazioneSvc LB to DockerHub #4

Push AutenticazioneSvc LB to DockerHub

Push AutenticazioneSvc LB to DockerHub #4

name: Push AutenticazioneSvc LB to DockerHub
on:
push:
branches: [ main ]
paths:
- 'src/AutenticazioneSvc/AutenticazioneSvc.LoadBalancer/**'
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 Autenticazione Load Balancer
uses: docker/[email protected]
with:
context: .
file: ./src/AutenticazioneSvc/AutenticazioneSvc.LoadBalancer/Dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/gswca-autenticazione-lb:latest