Skip to content

Commit

Permalink
Create publish-configurazionisvc-lb.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AngeloDotNet authored Dec 3, 2024
1 parent 7aae02d commit 0df73b7
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/publish-configurazionisvc-lb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Push ConfigurazioniSvc LB to DockerHub

on:
push:
branches: [ main ]
paths:
- 'src/ConfigurazioniSvc/ConfigurazioniSvc.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 Configurazioni Load Balancer
uses: docker/[email protected]
with:
context: .
file: ./src/ConfigurazioniSvc/ConfigurazioniSvc.LoadBalancer/Dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/gswcloudapp-configurazioni-lb:latest

0 comments on commit 0df73b7

Please sign in to comment.