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/03/08 11:44:31 UTC
[skywalking] branch docker updated: Update publish-docker.yaml
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.git
The following commit(s) were added to refs/heads/docker by this push:
new d0446fc0dc Update publish-docker.yaml
d0446fc0dc is described below
commit d0446fc0dc83c43cc55b56ada8a80a68585aa10d
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Wed Mar 8 19:44:16 2023 +0800
Update publish-docker.yaml
---
.github/workflows/publish-docker.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml
index 29a5d20fb3..8fb5150c87 100644
--- a/.github/workflows/publish-docker.yaml
+++ b/.github/workflows/publish-docker.yaml
@@ -33,8 +33,6 @@ jobs:
contents: read
packages: write
timeout-minutes: 90
- env:
- TAG: ${{ github.sha }}
steps:
- uses: actions/checkout@v3
with:
@@ -53,11 +51,15 @@ jobs:
echo "DOCKER_REGISTRY=docker.io" >> $GITHUB_ENV
echo "DOCKER_USERNAME=${{ secrets.DOCKERHUB_USER }}" >> $GITHUB_ENV
echo "DOCKER_PASSWORD=${{ secrets.DOCKERHUB_TOKEN }}" >> $GITHUB_ENV
+ echo "OAP_NAME=skywalking-oap-server" >> $GITHUB
+ echo "UI_NAME=skywalking-ui" >> $GITHUB
+ echo "TAG=${{ github.event.release.tag_name }}" >> $GITHUB
else
echo "HUB=ghcr.io/apache/skywalking" >> $GITHUB_ENV
echo "DOCKER_REGISTRY=ghcr.io/apache/skywalking" >> $GITHUB_ENV
echo "DOCKER_USERNAME=${{ github.actor }}" >> $GITHUB_ENV
echo "DOCKER_PASSWORD=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
+ echo "TAG=${{ github.sha }}" >> $GITHUB_ENV
fi
- name: Log in to the Container registry
uses: docker/login-action@v2