Skip to content

Commit

Permalink
fix(CI): revert if in job conditionals on docker build (azerothcore…
Browse files Browse the repository at this point in the history
…#18147)

Don't use env in step.if
  • Loading branch information
michaeldelago authored Jan 10, 2024
1 parent fdbde0b commit 7ec2585
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 7ec2585

Please sign in to comment.