diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index 1b2904c3e..d774d5cf8 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -17,7 +17,7 @@ jobs: matrix: os: [ubuntu-20.04] runs-on: ${{ matrix.os }} - if: github.repository == 'azerothcore/azerothcore-wotlk' && ${{ github.event.label.name == 'run-build' }} + if: github.repository == 'azerothcore/azerothcore-wotlk' && github.event.label.name == 'run-build' env: COMPOSE_DOCKER_CLI_BUILD: 1 DOCKER_BUILDKIT: 1 @@ -47,7 +47,7 @@ jobs: # compose_file: docker-compose.yml - name: Login to Docker Hub - if: github.repository == 'azerothcore/azerothcore-wotlk' && ${{ steps.extract_branch.outputs.branch == 'master' }} + if: github.repository == 'azerothcore/azerothcore-wotlk' && steps.extract_branch.outputs.branch == 'master' uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} @@ -70,7 +70,7 @@ jobs: - name: Deploy Dev #env: # DOCKER_IMAGE_TAG: ${{ steps.extract_branch.outputs.branch }} - if: github.repository == 'azerothcore/azerothcore-wotlk' && ${{ steps.extract_branch.outputs.branch == 'master' }} + if: github.repository == 'azerothcore/azerothcore-wotlk' && steps.extract_branch.outputs.branch == 'master' run: | docker-compose --profile dev --profile local push