chore: update workflows config.
This commit is contained in:
parent
5c4075497e
commit
f3b8c65f73
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@ -122,10 +122,7 @@ jobs:
|
|||||||
```
|
```
|
||||||
|
|
||||||
# Create Docker Image
|
# Create Docker Image
|
||||||
- name: Set up QEMU
|
- uses: docker/setup-buildx-action@v2
|
||||||
uses: docker/setup-qemu-action@v2
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v2
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
@ -137,8 +134,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm64/v7
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: ${{ secrets.DOCKER_USER }}/reference:latest
|
tags: wcjiang/reference:latest
|
||||||
|
|
||||||
- name: Build and push image:tags
|
- name: Build and push image:tags
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
@ -146,8 +143,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm64/v7
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: ${{ secrets.DOCKER_USER }}/reference:${{steps.changelog.outputs.version}}
|
tags: wcjiang/reference:${{steps.changelog.outputs.version}}
|
||||||
|
|
||||||
# Create Docker Image in Github
|
# Create Docker Image in Github
|
||||||
- name: Login to the GitHub Container Registry
|
- name: Login to the GitHub Container Registry
|
||||||
@ -162,7 +159,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm64/v7
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: ghcr.io/jaywcjlove/reference:latest
|
tags: ghcr.io/jaywcjlove/reference:latest
|
||||||
|
|
||||||
- name: Build and push image:tags
|
- name: Build and push image:tags
|
||||||
@ -171,7 +168,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm64/v7
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: ghcr.io/jaywcjlove/reference:${{steps.changelog.outputs.version}}
|
tags: ghcr.io/jaywcjlove/reference:${{steps.changelog.outputs.version}}
|
||||||
|
|
||||||
# # Create Docker Image in Github
|
# # Create Docker Image in Github
|
||||||
|
Loading…
x
Reference in New Issue
Block a user