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 2026/04/01 09:46:33 UTC

(skywalking-swck) branch publishdocker updated (1433812 -> 5980ec2)

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

kezhenxu94 pushed a change to branch publishdocker
in repository https://gitbox.apache.org/repos/asf/skywalking-swck.git


 discard 1433812  feat: add workflow to publish Docker images to ghcr.io on master push
     new 5980ec2  feat: add workflow to publish Docker images to ghcr.io on master push

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (1433812)
            \
             N -- N -- N   refs/heads/publishdocker (5980ec2)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:


(skywalking-swck) 01/01: feat: add workflow to publish Docker images to ghcr.io on master push

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch publishdocker
in repository https://gitbox.apache.org/repos/asf/skywalking-swck.git

commit 5980ec2332b75a93160ae2f34ab5df2fb4bfddc8
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Wed Apr 1 17:46:23 2026 +0800

    feat: add workflow to publish Docker images to ghcr.io on master push
---
 .github/workflows/publish-docker.yml | 57 ++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml
new file mode 100644
index 0000000..1633e35
--- /dev/null
+++ b/.github/workflows/publish-docker.yml
@@ -0,0 +1,57 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+name: Publish Docker Images
+on:
+  push:
+    branches:
+      - master
+      - publishdocker
+jobs:
+  publish:
+    name: Publish Docker Images
+    runs-on: ubuntu-latest
+    permissions:
+      contents: read
+      packages: write
+    steps:
+      - uses: actions/checkout@v4
+      - uses: actions/setup-go@v5
+        with:
+          go-version: "1.25"
+      - uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
+      - name: Login to ghcr.io
+        uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
+        with:
+          registry: ghcr.io
+          username: ${{ github.actor }}
+          password: ${{ secrets.GITHUB_TOKEN }}
+      - name: Build and push operator image
+        env:
+          OPERATOR_IMG: ghcr.io/apache/skywalking-swck/operator:${{ github.sha }}
+        run: |
+          make -C operator docker-build
+          make -C operator docker-push
+          docker tag $OPERATOR_IMG ghcr.io/apache/skywalking-swck/operator:latest
+          docker push ghcr.io/apache/skywalking-swck/operator:latest
+      - name: Build and push adapter image
+        env:
+          ADAPTER_IMG: ghcr.io/apache/skywalking-swck/metrics-adapter:${{ github.sha }}
+        run: |
+          make -C adapter docker-build
+          make -C adapter docker-push
+          docker tag $ADAPTER_IMG ghcr.io/apache/skywalking-swck/metrics-adapter:latest
+          docker push ghcr.io/apache/skywalking-swck/metrics-adapter:latest