Skip to content

Commit

Permalink
Fix the image name
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxSuRen committed Apr 11, 2022
1 parent 151d277 commit 7ce8af8
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,32 +47,26 @@ runs:
- name: Docker meta for KubeSphere
id: meta
if: github.repository_owner == 'kubesphere'
uses: docker/metadata-action@v3
uses: docker/metadata-action@v3.7.0
with:
images: |
kubespheredev/${{ inputs.image-name }}
ghcr.io/${{ github.repository_owner }}/${{ inputs.image-name }}
tags: |
type=ref,event=branch,suffix=${{ inputs.tag-suffix }}
type=ref,event=pr,suffix=${{ inputs.tag-suffix }}
type=semver,pattern=v{{version}}${{ inputs.tag-suffix }}
type=semver,pattern=v{{major}}.{{minor}}${{ inputs.tag-suffix }}
type=semver,pattern=v{{major}}${{ inputs.tag-suffix }}
type=sha,suffix=${{ inputs.tag-suffix }}
type=semver,pattern={{version}},prefix=v,suffix=${{ inputs.tag-suffix }}
- name: Docker meta for Contributors
id: metaContributors
if: github.repository_owner != 'kubesphere'
uses: docker/metadata-action@v3
uses: docker/metadata-action@v3.7.0
with:
images: |
ghcr.io/${{ github.repository_owner }}/${{ inputs.image-name }}
tags: |
type=ref,event=branch,suffix=${{ inputs.tag-suffix }}
type=ref,event=pr,suffix=${{ inputs.tag-suffix }}
type=semver,pattern=v{{version}}${{ inputs.tag-suffix }}
type=semver,pattern=v{{major}}.{{minor}}${{ inputs.tag-suffix }}
type=semver,pattern=v{{major}}${{ inputs.tag-suffix }}
type=sha,suffix=${{ inputs.tag-suffix }}
type=semver,pattern={{version}},prefix=v,suffix=${{ inputs.tag-suffix }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
Expand Down

0 comments on commit 7ce8af8

Please sign in to comment.