mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
hotfix(docker): login before push
This commit is contained in:
15
.github/workflows/docker_build.yml
vendored
15
.github/workflows/docker_build.yml
vendored
@@ -38,6 +38,14 @@ jobs:
|
||||
# password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
# compose_file: docker-compose.yml
|
||||
|
||||
- name: Login to Docker Hub
|
||||
if: ${{ steps.extract_branch.outputs.branch == 'master' }}
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
|
||||
# before cache
|
||||
# needed to avoid ccache injected into these images
|
||||
- name: Build Dev
|
||||
@@ -58,13 +66,6 @@ jobs:
|
||||
run: |
|
||||
docker-compose --profile dev --profile local push
|
||||
|
||||
- name: Login to Docker Hub
|
||||
if: ${{ steps.extract_branch.outputs.branch == 'master' }}
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user