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 2021/11/18 05:38:26 UTC

[skywalking-kubernetes-event-exporter] 01/01: Push snapshot Docker image to ghcr.io

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-kubernetes-event-exporter.git

commit 0fd0630bdbec188a3172eac09616139cebe91a02
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Thu Nov 18 13:37:39 2021 +0800

    Push snapshot Docker image to ghcr.io
---
 .github/workflows/publish-docker.yaml | 44 +++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml
new file mode 100644
index 0000000..ba0871b
--- /dev/null
+++ b/.github/workflows/publish-docker.yaml
@@ -0,0 +1,44 @@
+# Licensed to 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. Apache Software Foundation (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: Push Docker Image
+
+on:
+  push:
+    branches:
+      - docker
+
+env:
+  HUB: ghcr.io/apache/skywalking-kubernetes-event-exporter
+
+jobs:
+  push-docker-image:
+    name: Push Docker Image
+    runs-on: ubuntu-latest
+    permissions:
+      contents: read
+      packages: write
+    env:
+      TAG: ${{ github.sha }}
+    steps:
+      - uses: actions/checkout@v2
+        with:
+          submodules: true
+
+      - name: Build Docker Image
+        run: make -C build/package/docker push