You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by kv...@apache.org on 2020/06/22 05:41:27 UTC
[incubator-apisix-dashboard] branch cd created (now adb6059)
This is an automated email from the ASF dual-hosted git repository.
kvn pushed a change to branch cd
in repository https://gitbox.apache.org/repos/asf/incubator-apisix-dashboard.git.
at adb6059 cd
This branch includes the following new commits:
new adb6059 cd
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.
[incubator-apisix-dashboard] 01/01: cd
Posted by kv...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kvn pushed a commit to branch cd
in repository https://gitbox.apache.org/repos/asf/incubator-apisix-dashboard.git
commit adb605986873431ec15806794fc2cbeb152ca9f8
Author: kv <gx...@163.com>
AuthorDate: Mon Jun 22 13:41:03 2020 +0800
cd
---
.github/workflows/api_cd.yml | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/.github/workflows/api_cd.yml b/.github/workflows/api_cd.yml
new file mode 100644
index 0000000..59c8cbd
--- /dev/null
+++ b/.github/workflows/api_cd.yml
@@ -0,0 +1,27 @@
+name: API CD
+
+on:
+ push:
+ branches:
+ - master
+ - cd
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: Azure/docker-login@v1
+ with:
+ login-server: apisixacr.azurecr.cn
+ username: ${{ secrets.REGISTRY_USERNAME }}
+ password: ${{ secrets.REGISTRY_PASSWORD }}
+
+ - run: |
+ cd ./api
+ docker build . -t apisixacr.azurecr.cn/manager-api:${{ github.sha }}
+ docker push apisixacr.azurecr.cn/manager-api:${{ github.sha }}