Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
guoshijiang authored Oct 6, 2024
1 parent 8a50b6b commit 1b41f07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
appname="dapplink-docs"
tag_name="${registry}/${namespace}/${appname}"
docker login --username=100003588471 -p dapplink@go hkccr.ccs.tencentyun.com
docker build --pull -t ${tag_name}:v0.0.1 .
docker push ${tag_name}:v0.0.1
docker build --pull -t ${tag_name}:v0.1.0 .
docker push ${tag_name}:v0.1.0
HELM_OPTS="${HELM_OPTS} --set image.repository=${tag_name}"
HELM_OPTS="${HELM_OPTS} --set image.tag=v0.0.1"
HELM_OPTS="${HELM_OPTS} --set image.tag=v0.1.0"
if [ ${{github.event.inputs.environment }} == "testnet" ]; then
helm template ${{ env.app }} -f values.yaml charts ${HELM_OPTS}
helm upgrade --install ${{ env.app }} -f values.yaml charts ${HELM_OPTS}
Expand Down

0 comments on commit 1b41f07

Please sign in to comment.