File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 contents : read
3434 packages : write
3535 timeout-minutes : 120
36- env :
37- VERSION : ${{ github.sha }}
3836 steps :
3937 - uses : actions/checkout@v2
4038 with :
@@ -46,14 +44,14 @@ jobs:
4644 echo "DOCKER_REGISTRY=docker.io" >> $GITHUB_ENV
4745 echo "DOCKER_USERNAME=${{ secrets.DOCKERHUB_USER }}" >> $GITHUB_ENV
4846 echo "DOCKER_PASSWORD=${{ secrets.DOCKERHUB_TOKEN }}" >> $GITHUB_ENV
49- TAG =${{ github.event.release.tag_name }}
50- echo "TAG =${TAG #v}" >> $GITHUB_ENV
47+ VERSION =${{ github.event.release.tag_name }}
48+ echo "VERSION =${VERSION #v}" >> $GITHUB_ENV
5149 else
5250 echo "HUB=ghcr.io/apache/skywalking" >> $GITHUB_ENV
5351 echo "DOCKER_REGISTRY=ghcr.io/apache/skywalking-python" >> $GITHUB_ENV
5452 echo "DOCKER_USERNAME=${{ github.actor }}" >> $GITHUB_ENV
5553 echo "DOCKER_PASSWORD=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
56- echo "TAG =${{ github.sha }}" >> $GITHUB_ENV
54+ echo "VERSION =${{ github.sha }}" >> $GITHUB_ENV
5755 fi
5856 - name : Log in to the Container registry
5957 uses : docker/login-action@v2
You can’t perform that action at this time.
0 commit comments