Skip to content

Commit

Permalink
Create publish-autenticazionesvc-lb.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AngeloDotNet authored Dec 3, 2024
1 parent e127fcb commit 6d4be73
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/publish-autenticazionesvc-lb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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 }}/gswcloudapp-configurazioni-lb:latest

0 comments on commit 6d4be73

Please sign in to comment.