-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create publish-autenticazionesvc-lb.yml
- Loading branch information
1 parent
e127fcb
commit 6d4be73
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |