doc: Update ci.yml
This commit is contained in:
parent
7597799323
commit
34f6bba4a1
44
.github/workflows/ci.yml
vendored
44
.github/workflows/ci.yml
vendored
@ -146,30 +146,30 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: wcjiang/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
|
||||||
uses: docker/login-action@v2
|
# uses: docker/login-action@v2
|
||||||
with:
|
# with:
|
||||||
registry: ghcr.io
|
# registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
# username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
# password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push image:latest
|
# - name: Build and push image:latest
|
||||||
uses: docker/build-push-action@v3
|
# uses: docker/build-push-action@v3
|
||||||
with:
|
# with:
|
||||||
push: true
|
# push: true
|
||||||
context: .
|
# context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
# 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
|
||||||
uses: docker/build-push-action@v3
|
# uses: docker/build-push-action@v3
|
||||||
if: steps.create_tag.outputs.successful
|
# if: steps.create_tag.outputs.successful
|
||||||
with:
|
# with:
|
||||||
push: true
|
# push: true
|
||||||
context: .
|
# context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
# 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
|
||||||
# - name: Login to GitHub registry
|
# - name: Login to GitHub registry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user