mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(CI): revert if in job conditionals on docker build (#18147)
Don't use env in step.if
This commit is contained in:
6
.github/workflows/docker_build.yml
vendored
6
.github/workflows/docker_build.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user