Take another way to accomplish runtime image changing

pull/148/head
IceCodeNew 2020-09-24 23:51:02 +08:00
parent 825b71ca25
commit 0ec3fa5772
1 changed files with 9 additions and 6 deletions

View File

@ -26,13 +26,16 @@ jobs:
sh_checker_exclude: "LICENSE README.md README.zh-Hans-CN.md"
filed-test:
runs-on: ubuntu-latest
container:
image: centos:centos7.0.1406
# container:
# image: centos:centos7.0.1406
steps:
- name: Checkout
uses: actions/checkout@v2
- name: What OS is running
run: uname -a
# - name: What OS is running
# run: uname -a
- name: Run the filed-test
run: |
sudo bash install-release.sh
uses: docker://centos:centos7.0.1406
with:
args: bash install-release.sh
# run: |
# sudo bash install-release.sh