From 8483bd40f4c730a84adb1412cfdeff963f5a4bf7 Mon Sep 17 00:00:00 2001 From: Alexey Turovskiy Date: Thu, 8 Feb 2024 17:19:08 +0700 Subject: [PATCH] Add gateway push to dokerhub --- .github/workflows/main.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fd9b880b6d..667998dd70 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -99,4 +99,23 @@ jobs: with: context: ./frontend/ push: true - tags: failwiz/taski_frontend:latest \ No newline at end of file + tags: failwiz/taski_frontend:latest + build_gateway_and_push_to_docker_hub: + name: Push gateway Docker image to DockerHub + runs-on: ubuntu-latest + steps: + - name: Check out the repo + uses: actions/checkout@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + - name: Login to Docker + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - name: Push to DockerHub + uses: docker/build-push-action@v4 + with: + context: ./gateway/ + push: true + tags: failwiz/taski_gateway:latest \ No newline at end of file