Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
amyXia1994 committed Aug 11, 2022
1 parent c457f11 commit e54cdae
Showing 1 changed file with 6 additions and 27 deletions.
33 changes: 6 additions & 27 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,36 +83,15 @@ jobs:
echo "::set-output name=kclvmgo_version::$(./_build/bundles/kusion-linux/bin/kusion version -y | grep kclvmgoVersion | cut -d ':' -f 2 | awk '$1=$1')"
echo "::set-output name=kclplugin_version::$(./_build/bundles/kusion-linux/bin/kusion version -y | grep kclPluginVersion | cut -d ':' -f 2 | awk '$1=$1')"
# <--- Login, build and push image to Docker Hub --->
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# - name: Build and push image to Docker Hub
# uses: docker/build-push-action@v3
# with:
# context: .
# push: true
# tags: kusionstack/kusion:latest,kusionstack/kusion:${{ steps.get_version.outputs.kusion_version }}
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push kusionctl image to Docker Hub
uses: docker/build-push-action@v3
with:
context: .
file: Dockerfile_kusionctl
push: true
tags: kusionstack/kusionctl:latest,kusionstack/kusionctl:${{ steps.get_version.outputs.kusion_version }}
# <--- Push kusion big packages for multiple platforms to Github Release --->
# - name: Release
# uses: softprops/action-gh-release@v1
# with:
# generate_release_notes: true
# files: ./_build/bundles/*.tgz*
# append_body: true
# body: |
# ## Docker Images
# * `kusionstack/kusion:${{ steps.get_version.outputs.kusion_version }}`

# ## Dependent version
# * [kclvm-go](https://github.com/KusionStack/kclvm-go): `${{ steps.get_version.outputs.kclvmgo_version }}`
# * [kcl-plugin](https://github.com/KusionStack/kcl-plugin): `${{ steps.get_version.outputs.kclplugin_version }}`
# <--- End --->
tags: kusionstack/kusionctl:latest,kusionstack/kusionctl:${{ steps.get_version.outputs.kusion_version }}

0 comments on commit e54cdae

Please sign in to comment.