mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +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
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up nodejs
|
||||
uses: actions/setup-node@v3
|
||||
|
@ -104,7 +104,7 @@ jobs:
|
|||
GOARM: ${{ matrix.goarm }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Get the version
|
||||
id: get_version
|
||||
|
@ -194,7 +194,7 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
if: env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to DockerHub
|
||||
if: env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
||||
|
@ -211,7 +211,7 @@ jobs:
|
|||
|
||||
- name: Build and push
|
||||
if: github.event_name == 'release' && env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: ./dist
|
||||
file: ./dist/Dockerfile
|
||||
|
@ -229,7 +229,7 @@ jobs:
|
|||
|
||||
- name: Build and push demo
|
||||
if: env.GOOS == 'linux' && env.GOARCH == 'amd64'
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: ./dist
|
||||
file: ./dist/demo.Dockerfile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue