You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by bz...@apache.org on 2022/11/25 10:07:21 UTC

[apisix-docker] branch master updated: fix: dashboard image push condition (#385)

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

bzp2010 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-docker.git


The following commit(s) were added to refs/heads/master by this push:
     new d37717f  fix: dashboard image push condition (#385)
d37717f is described below

commit d37717fcacd4eac44a903714b6abf667c6976e9f
Author: Zeping Bai <bz...@apache.org>
AuthorDate: Fri Nov 25 18:07:16 2022 +0800

    fix: dashboard image push condition (#385)
---
 .github/workflows/dashboard_push_docker_hub.yaml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/dashboard_push_docker_hub.yaml b/.github/workflows/dashboard_push_docker_hub.yaml
index 73c6e51..c21c5d7 100644
--- a/.github/workflows/dashboard_push_docker_hub.yaml
+++ b/.github/workflows/dashboard_push_docker_hub.yaml
@@ -5,11 +5,11 @@ on:
 jobs:
   build:
     strategy:
-        fail-fast: false
-        matrix:
-          os:
-            - centos
-            - alpine
+      fail-fast: false
+      matrix:
+        os:
+          - centos
+          - alpine
 
     name: build dashboard & test on ${{ matrix.os }} && push to docker hub
     runs-on: ubuntu-latest
@@ -56,6 +56,6 @@ jobs:
         uses: docker/setup-buildx-action@v1
 
       - name: Push apisix dashboard image to Docker Hub
-        if: matrix.platform == 'centos'
+        if: matrix.os == 'centos'
         run: |
           make push-multiarch-dashboard