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
+3 -3
View File
@@ -17,7 +17,7 @@ jobs:
matrix: matrix:
os: [ubuntu-20.04] os: [ubuntu-20.04]
runs-on: ${{ matrix.os }} 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: env:
COMPOSE_DOCKER_CLI_BUILD: 1 COMPOSE_DOCKER_CLI_BUILD: 1
DOCKER_BUILDKIT: 1 DOCKER_BUILDKIT: 1
@@ -47,7 +47,7 @@ jobs:
# compose_file: docker-compose.yml # compose_file: docker-compose.yml
- name: Login to Docker Hub - 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 uses: docker/login-action@v1
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
@@ -70,7 +70,7 @@ jobs:
- name: Deploy Dev - name: Deploy Dev
#env: #env:
# DOCKER_IMAGE_TAG: ${{ steps.extract_branch.outputs.branch }} # 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: | run: |
docker-compose --profile dev --profile local push docker-compose --profile dev --profile local push