-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: upload apisix-runtime artifact (#343)
Signed-off-by: Sn0rt <[email protected]>
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,12 @@ jobs: | |
make package type=deb app=${TAG_TYPE} checkout=${TAG_VERSION} version=${TAG_VERSION} image_base=${VAR_OS} image_tag=${VAR_OS_RELEASE} openresty=apisix-base | ||
mv ./output/${TAG_TYPE}_${TAG_VERSION}-0~${VAR_OS}${VAR_OS_RELEASE}_amd64.deb ${VAR_DEB_WORKBENCH_DIR} | ||
- name: Upload apisix/apisix-base Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: "${{ env.TAG_TYPE }}_${{ env.TAG_VERSION }}-0~${{ env.VAR_OS }}${{ env.VAR_OS_RELEASE }}_amd64.deb" | ||
path: "${{ env.VAR_DEB_WORKBENCH_DIR }}/${{ env.TAG_TYPE}}_${{ env.TAG_VERSION }}-0~${{ env.VAR_OS }}${{ env.VAR_OS_RELEASE }}_amd64.deb" | ||
|
||
- name: Build apisix-runtime deb Package | ||
if: ${{ env.TAG_TYPE == 'apisix-runtime' }} | ||
run: | | ||
|
@@ -64,7 +70,7 @@ jobs: | |
make package type=deb app=${TAG_TYPE} checkout=${TAG_VERSION} version=${TAG_VERSION} image_base=${VAR_OS} image_tag=${VAR_OS_RELEASE} openresty=apisix-runtime | ||
mv ./output/${TAG_TYPE}_${TAG_VERSION}-0~${VAR_OS}${VAR_OS_RELEASE}_amd64.deb ${VAR_DEB_WORKBENCH_DIR} | ||
- name: Upload apisix/apisix-base Artifact | ||
- name: Upload apisix/apisix-runtime Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: "${{ env.TAG_TYPE }}_${{ env.TAG_VERSION }}-0~${{ env.VAR_OS }}${{ env.VAR_OS_RELEASE }}_amd64.deb" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,6 +132,20 @@ jobs: | |
name: "apisix-base-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm" | ||
path: "${{ env.VAR_RPM_WORKBENCH_DIR }}/apisix-base-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm" | ||
|
||
- name: Upload apisix-runtime Artifact for Redhat | ||
if: ${{ startsWith(steps.tag_type.outputs.version, 'apisix-runtime/') }} | ||
uses: actions/[email protected] | ||
with: | ||
name: "apisix-base-${{ steps.tag_env.outputs.version}}-0.ubi8.6.x86_64.rpm" | ||
path: "${{ env.VAR_RPM_WORKBENCH_DIR }}/apisix-runtime-${{ steps.tag_env.outputs.version}}-0.ubi8.6.x86_64.rpm" | ||
|
||
- name: Upload apisix-runtime Artifact for Centos | ||
if: ${{ startsWith(steps.tag_type.outputs.version, 'apisix-runtime/') }} | ||
uses: actions/[email protected] | ||
with: | ||
name: "apisix-base-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm" | ||
path: "${{ env.VAR_RPM_WORKBENCH_DIR }}/apisix-runtime-${{ steps.tag_env.outputs.version}}-0.el7.x86_64.rpm" | ||
|
||
- name: Upload apisix-dashboard Artifact | ||
if: ${{ startsWith(steps.tag_type.outputs.version, 'dashboard/') }} | ||
uses: actions/[email protected] | ||
|