diff options
author | Mike Delago <32778141+michaeldelago@users.noreply.github.com> | 2024-01-10 07:53:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 13:53:45 +0100 |
commit | 7ec2585cc80b08db87441ac374cefec14a42c56e (patch) | |
tree | ffc0d8ca03508e542516142e698f2cbf1c22dfef /.github | |
parent | fdbde0b866300f5647a0df0211b7cfda2e6d66b5 (diff) |
fix(CI): revert `if` in job conditionals on docker build (#18147)
Don't use env in step.if
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/docker_build.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index 0f23f9ad77..141d340365 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -43,14 +43,14 @@ jobs: # If you're wanting containers without mod-eluna, the best solution is to # build them locally (such as with `docker compose build`) - name: Download Eluna - if: env.RUNNING_ON_PRIMARY_BRANCH == 'true' + if: github.repository == 'azerothcore/azerothcore-wotlk' && github.ref_name == 'master' uses: actions/checkout@v4 with: repository: azerothcore/mod-eluna path: modules/mod-eluna - name: Login to Docker Hub - if: env.RUNNING_ON_PRIMARY_BRANCH == 'true' + if: github.repository == 'azerothcore/azerothcore-wotlk' && github.ref_name == 'master' uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} @@ -109,7 +109,7 @@ jobs: dockerfile: apps/docker/Dockerfile.dev-server - name: Trigger acore-docker CI - if: env.RUNNING_ON_PRIMARY_BRANCH == 'true' + if: github.repository == 'azerothcore/azerothcore-wotlk' && github.ref_name == 'master' uses: peter-evans/repository-dispatch@v2 with: token: ${{ secrets.ACORE_DOCKER_REPO_ACCESS_TOKEN }} |