Skip to content

Commit

Permalink
ci: add el7 in package name
Browse files Browse the repository at this point in the history
Signed-off-by: imjoey <[email protected]>
  • Loading branch information
imjoey committed Aug 16, 2021
1 parent cb5f4fa commit b904edb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/auto-build-rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
if [ "$VERSION" != "merge" && "$VERSION" != "master" ];then
export checkout=release/${VERSION}
fi
make package type=rpm app=dashboard version=${VERSION} checkout=${checkout}
make package type=rpm app=dashboard version=${VERSION} checkout=${checkout} image_base=centos image_tag=7
- name: Run centos7 docker and mapping apisix into container
run: |
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Install rpm package
run: |
export VERSION=${{ steps.branch_env.outputs.version }}
docker exec centos7Instance bash -c "cd apisix-dashboard && yum install -y ./apisix-build-tools/output/apisix-dashboard-${VERSION}-0.x86_64.rpm"
docker exec centos7Instance bash -c "cd apisix-dashboard && yum install -y ./apisix-build-tools/output/apisix-dashboard-${VERSION}-0.el7.x86_64.rpm"
docker logs centos7Instance
# Dependencies are attached with rpm, so revert `make deps`
docker exec centos7Instance bash -c "cd /usr/local/apisix/dashboard/ && nohup ./manager-api &"
Expand All @@ -67,4 +67,4 @@ jobs:
uses: actions/[email protected]
with:
name: "rpm"
path: "./apisix-build-tools/output/apisix-dashboard-${{ steps.branch_env.outputs.version }}-0.x86_64.rpm"
path: "./apisix-build-tools/output/apisix-dashboard-${{ steps.branch_env.outputs.version }}-0.el7.x86_64.rpm"

0 comments on commit b904edb

Please sign in to comment.