Skip to content

Merge pull request #88 from AngeloDotNet/develop #15

Merge pull request #88 from AngeloDotNet/develop

Merge pull request #88 from AngeloDotNet/develop #15

name: Push GatewaySvc to DockerHub
on:
push:
branches: [ main ]
paths: [ 'src/GatewaySvc/GatewaySvc/**' ]
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 Gateway
uses: docker/[email protected]
with:
context: .
file: ./src/GatewaySvc/GatewaySvc/Dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/gswca-gateway:latest