Skip to content

Commit

Permalink
Add prefix v into the image tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxSuRen committed May 18, 2022
1 parent b7d2ca7 commit bb1d897
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ jobs:
export PATH=.:$PATH:phantomjs/bin
jcli cwp --install-artifacts --config-path formula.yaml --value-set output=push \
--value-set tag=kubespheredev/ks-jenkins:${{ steps.build_env.outputs.version }} \
--value-set tag=kubespheredev/ks-jenkins:v${{ steps.build_env.outputs.version }} \
--value-set platform=linux/amd64,linux/arm64
- name: Push Image ghcr.io
run: |
export PATH=.:$PATH:phantomjs/bin
docker login ghcr.io --username ${{ secrets.GH_USER }} --password ${{secrets.GH_TOKEN}}
jcli cwp --install-artifacts --config-path formula.yaml --value-set output=push \
--value-set tag=ghcr.io/kubesphere/ks-jenkins:${{ steps.build_env.outputs.version }} \
--value-set tag=ghcr.io/kubesphere/ks-jenkins:v${{ steps.build_env.outputs.version }} \
--value-set platform=linux/amd64,linux/arm64
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
jcli cwp --install-artifacts --config-path formula.yaml \
--value-set output=load \
--value-set tag=kubespheredev/ks-jenkins:${{ steps.build_env.outputs.version }} \
--value-set tag=kubespheredev/ks-jenkins:v${{ steps.build_env.outputs.version }} \
--value-set platform=linux/amd64
trivy-scan:
runs-on: ubuntu-latest
Expand Down

0 comments on commit bb1d897

Please sign in to comment.