Skip to content

Commit

Permalink
Update the release action (#415)
Browse files Browse the repository at this point in the history
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
  • Loading branch information
dxsup authored Dec 22, 2022
1 parent c64b6a6 commit b86eb37
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/kindling-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,21 @@ jobs:
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: retag latesttest
run: |
docker pull kindlingproject/kindling-agent:latesttest
docker pull kindlingproject/kindling-agent:latesttest
docker tag kindlingproject/kindling-agent:latesttest kindlingproject/kindling-agent:latest
docker push kindlingproject/kindling-agent:latest
docker tag kindlingproject/kindling-agent:latesttest kindlingproject/kindling-agent:${{ env.RELEASE }}
docker push kindlingproject/kindling-agent:${{ env.RELEASE }}
docker pull kindlingproject/kindling-camera-front:latesttest
docker tag kindlingproject/kindling-camera-front:latesttest kindlingproject/kindling-camera-front:latest
docker push kindlingproject/kindling-camera-front:latest
docker tag kindlingproject/kindling-camera-front:latesttest kindlingproject/kindling-camera-front:${{ env.RELEASE }}
docker push kindlingproject/kindling-camera-front:${{ env.RELEASE }}
- name: Prepare Deploy
run: |
sed -i 's#kindlingproject/kindling-agent:latest#kindlingproject/kindling-agent:${{ env.RELEASE }}#g' deploy/agent/kindling-deploy.yml
sed -i 's#kindling-camera-front:latest#kindling-camera-front:${{ env.RELEASE }}#g' deploy/agent/kindling-deploy.yml
mv deploy kindling-${{ env.RELEASE }}-install
tar -czvf kindling-${{ env.RELEASE }}-install.tar.gz kindling-${{ env.RELEASE }}-install
# - name: update OSS
Expand Down

0 comments on commit b86eb37

Please sign in to comment.