mirror of https://github.com/ByConity/ByConity
login to dockerhub in release workflow before build docker
This commit is contained in:
parent
39bc806876
commit
128397bdf5
|
@ -48,17 +48,17 @@ jobs:
|
|||
tag: ${{ github.ref }}
|
||||
overwrite: true
|
||||
file_glob: true
|
||||
- name: Login to Docker Hub.
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Build Docker.
|
||||
run: |
|
||||
cd ByConity/docker/debian/release
|
||||
BUILD_TYPE=Release CMAKE_FLAGS="-DENABLE_JAVA_EXTENSIONS=0" TAG=${{ github.ref_name }} make image-github
|
||||
cd -
|
||||
docker images
|
||||
- name: Login to Docker Hub.
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Push Dockers.
|
||||
run: |
|
||||
docker push byconity/byconity:${{ github.ref_name }}
|
||||
|
|
Loading…
Reference in New Issue