Update build.yml

This commit is contained in:
0xJacky 2022-08-12 14:15:58 +08:00
parent 5178d1e808
commit 04cac7d7f3
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0

View file

@ -221,6 +221,13 @@ jobs:
uozi/nginx-ui:latest
uozi/nginx-ui:${{ steps.get_version.outputs.VERSION }}
- name: Login to DockerHub Again
if: github.event_name == 'release' && env.GOOS == 'linux' && env.GOARCH == 'amd64'
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Prepare Demo Dockerfile
if: env.GOOS == 'linux' && env.GOARCH == 'amd64'
run: |