From b86eb37a49f2a9d72b88f5555196d48031fe3fb5 Mon Sep 17 00:00:00 2001 From: Daxin Wang <46807570+dxsup@users.noreply.github.com> Date: Thu, 22 Dec 2022 15:40:52 +0800 Subject: [PATCH] Update the release action (#415) Signed-off-by: Daxin Wang --- .github/workflows/kindling-publish.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/kindling-publish.yaml b/.github/workflows/kindling-publish.yaml index f21772a16..9950b3350 100644 --- a/.github/workflows/kindling-publish.yaml +++ b/.github/workflows/kindling-publish.yaml @@ -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