mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
chore: Login to dockerhub before trying to push to dockerhub.
This commit is contained in:
parent
1639703c62
commit
b8c7c2a923
3
.github/settings.yml
vendored
3
.github/settings.yml
vendored
|
@ -12,7 +12,10 @@ branches:
|
|||
protection:
|
||||
required_status_checks:
|
||||
contexts:
|
||||
- build-bootstrapd-docker
|
||||
- build-nacl
|
||||
- build-win32
|
||||
- build-win64
|
||||
- Codacy Static Code Analysis
|
||||
- CodeFactor
|
||||
- "ci/circleci: asan"
|
||||
|
|
8
.github/workflows/docker.yml
vendored
8
.github/workflows/docker.yml
vendored
|
@ -7,11 +7,17 @@ on:
|
|||
branches: [master]
|
||||
|
||||
jobs:
|
||||
build-bootstrap-docker:
|
||||
build-bootstrapd-docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
- name: Login to DockerHub
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- uses: actions/checkout@v2
|
||||
- name: Docker Build
|
||||
run: .travis/tox-bootstrapd-docker local
|
||||
|
|
Loading…
Reference in New Issue
Block a user