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