You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by yi...@apache.org on 2023/04/30 03:06:20 UTC

[skywalking-python] branch master updated: Fix wrong docker tag name (#307)

This is an automated email from the ASF dual-hosted git repository.

yihaochen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-python.git


The following commit(s) were added to refs/heads/master by this push:
     new 7a1c711  Fix wrong docker tag name (#307)
7a1c711 is described below

commit 7a1c7119826868ecfc1183f3c1afa14675401f05
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Sun Apr 30 11:06:14 2023 +0800

    Fix wrong docker tag name (#307)
---
 .github/workflows/publish-docker.yaml | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml
index 937e757..b8da6b6 100644
--- a/.github/workflows/publish-docker.yaml
+++ b/.github/workflows/publish-docker.yaml
@@ -33,8 +33,6 @@ jobs:
       contents: read
       packages: write
     timeout-minutes: 120
-    env:
-      VERSION: ${{ github.sha }}
     steps:
       - uses: actions/checkout@v2
         with:
@@ -46,14 +44,14 @@ jobs:
             echo "DOCKER_REGISTRY=docker.io" >> $GITHUB_ENV
             echo "DOCKER_USERNAME=${{ secrets.DOCKERHUB_USER }}" >> $GITHUB_ENV
             echo "DOCKER_PASSWORD=${{ secrets.DOCKERHUB_TOKEN }}" >> $GITHUB_ENV
-            TAG=${{ github.event.release.tag_name }}
-            echo "TAG=${TAG#v}" >> $GITHUB_ENV
+            VERSION=${{ github.event.release.tag_name }}
+            echo "VERSION=${VERSION#v}" >> $GITHUB_ENV
           else
             echo "HUB=ghcr.io/apache/skywalking" >> $GITHUB_ENV
             echo "DOCKER_REGISTRY=ghcr.io/apache/skywalking-python" >> $GITHUB_ENV
             echo "DOCKER_USERNAME=${{ github.actor }}" >> $GITHUB_ENV
             echo "DOCKER_PASSWORD=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
-            echo "TAG=${{ github.sha }}" >> $GITHUB_ENV
+            echo "VERSION=${{ github.sha }}" >> $GITHUB_ENV
           fi
       - name: Log in to the Container registry
         uses: docker/login-action@v2