You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2023/04/30 02:28:53 UTC
[skywalking-python] 01/01: Fix wrong docker tag name
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch docker
in repository https://gitbox.apache.org/repos/asf/skywalking-python.git
commit e7874fb3de23cac44365ed0ba369dedb0f69b5e0
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Sun Apr 30 10:28:05 2023 +0800
Fix wrong docker tag name
---
.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