fix(CI): docker workflow update (#6851)

This commit is contained in:
Patrick Lewis
2021-07-09 17:00:40 -07:00
committed by GitHub
parent 0f4a942825
commit 3e4cfd7fc0

View File

@@ -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