mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 02:45:49 +02:00
update: actions/checkout@v3
This commit is contained in:
parent
b97adcb250
commit
637036fd68
1 changed files with 5 additions and 5 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -33,7 +33,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up nodejs
|
- name: Set up nodejs
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
|
@ -104,7 +104,7 @@ jobs:
|
||||||
GOARM: ${{ matrix.goarm }}
|
GOARM: ${{ matrix.goarm }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Get the version
|
- name: Get the version
|
||||||
id: get_version
|
id: get_version
|
||||||
|
@ -194,7 +194,7 @@ jobs:
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
if: 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@v2
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
if: env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
if: env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
||||||
|
@ -211,7 +211,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
if: github.event_name == 'release' && env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
if: github.event_name == 'release' && env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: ./dist
|
context: ./dist
|
||||||
file: ./dist/Dockerfile
|
file: ./dist/Dockerfile
|
||||||
|
@ -229,7 +229,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build and push demo
|
- name: Build and push demo
|
||||||
if: env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
if: env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: ./dist
|
context: ./dist
|
||||||
file: ./dist/demo.Dockerfile
|
file: ./dist/demo.Dockerfile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue