mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 19:05:55 +02:00
Update build.yml
This commit is contained in:
parent
04cac7d7f3
commit
5288924681
1 changed files with 2 additions and 9 deletions
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
@ -192,12 +192,12 @@ jobs:
|
||||||
files: ${{ env.DIST }}.tar.gz
|
files: ${{ env.DIST }}.tar.gz
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
if: github.event_name == 'release' && env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
if: env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
if: github.event_name == 'release' && env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
if: env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USER }}
|
username: ${{ secrets.DOCKERHUB_USER }}
|
||||||
|
@ -221,13 +221,6 @@ jobs:
|
||||||
uozi/nginx-ui:latest
|
uozi/nginx-ui:latest
|
||||||
uozi/nginx-ui:${{ steps.get_version.outputs.VERSION }}
|
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
|
- name: Prepare Demo Dockerfile
|
||||||
if: env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
if: env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue