From 1cf4d44cd6e342e0f37cd45bfb092d74ba211af6 Mon Sep 17 00:00:00 2001 From: Dmitriy Stoyanov Date: Sat, 26 Oct 2024 18:25:23 +0300 Subject: [PATCH] Remove separate frontend image from building process (#2628) Right now we have two images for frontend app - one with tls and one without. Right now without tls not used. So to reduce time of building on master branch, I've decided to remove building frontend app without tls, as it is not used anymore after removal of epam instance --- .github/workflows/docker-build-push-redeploy.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/docker-build-push-redeploy.yml b/.github/workflows/docker-build-push-redeploy.yml index 90b9fd0fe..ada03f308 100644 --- a/.github/workflows/docker-build-push-redeploy.yml +++ b/.github/workflows/docker-build-push-redeploy.yml @@ -16,17 +16,6 @@ jobs: name: brainup/brn-backend username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - build_and_publish_frontend: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Publish to Registry brainup/brn-frontend - uses: elgohr/Publish-Docker-Github-Action@master - with: - name: brainup/brn-frontend - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - dockerfile: Dockerfile_frontend build_and_publish_frontend_with_tls: runs-on: ubuntu-latest steps: @@ -39,7 +28,7 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} dockerfile: Dockerfile_frontend_with_tls redeploy_instance: - needs: [ build_and_publish_backend, build_and_publish_frontend, build_and_publish_frontend_with_tls] + needs: [ build_and_publish_backend, build_and_publish_frontend_with_tls] runs-on: ${{ matrix.runners }} strategy: matrix: