add docker login
This commit is contained in:
@@ -10,18 +10,29 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
-
|
||||||
|
name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: set up QEMU
|
-
|
||||||
|
name: set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
- name: set up buildx
|
-
|
||||||
|
name: set up buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
with:
|
with:
|
||||||
buildkitd-flags: --debug
|
buildkitd-flags: --debug
|
||||||
- name: platforms
|
-
|
||||||
|
name: platforms
|
||||||
run: echo ${{ steps.buildx.outputs.platforms }}
|
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||||
- name: build
|
-
|
||||||
|
name: login to docker hub
|
||||||
|
uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
-
|
||||||
|
name: build
|
||||||
run: cd contrib/docker && ./build.sh release
|
run: cd contrib/docker && ./build.sh release
|
||||||
# - name: configure and build
|
# - name: configure and build
|
||||||
# run: ./make_debian.sh
|
# run: ./make_debian.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user