mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix specific case in workflow files for 1.6 tests
This commit is contained in:
parent
ac5569132c
commit
0e7d4de66b
2 changed files with 14 additions and 0 deletions
7
.github/workflows/test-core-linux.yml
vendored
7
.github/workflows/test-core-linux.yml
vendored
|
|
@ -57,10 +57,17 @@ jobs:
|
|||
- name: Pull BW linux ubuntu test image
|
||||
run: docker pull ghcr.io/bunkerity/ubuntu-tests:${{ inputs.RELEASE }}
|
||||
- name: Copy deb file to host
|
||||
if: inputs.RELEASE != '1.6'
|
||||
run: |
|
||||
container_id=$(docker create "ghcr.io/bunkerity/ubuntu-tests:${{ inputs.RELEASE }}")
|
||||
docker cp "$container_id:/opt/bunkerweb_${{ inputs.RELEASE }}-1_amd64.deb" "/tmp/bunkerweb.deb"
|
||||
docker rm "$container_id"
|
||||
- name: Copy deb file to host 1.6
|
||||
if: inputs.RELEASE == '1.6'
|
||||
run: |
|
||||
container_id=$(docker create "ghcr.io/bunkerity/ubuntu-tests:${{ inputs.RELEASE }}")
|
||||
docker cp "$container_id:/opt/bunkerweb_dev-1_amd64.deb" "/tmp/bunkerweb.deb"
|
||||
docker rm "$container_id"
|
||||
- name: Install NGINX
|
||||
run: |
|
||||
export NEEDRESTART_SUSPEND=1
|
||||
|
|
|
|||
7
.github/workflows/tests-ui-linux.yml
vendored
7
.github/workflows/tests-ui-linux.yml
vendored
|
|
@ -57,10 +57,17 @@ jobs:
|
|||
- name: Pull BW linux ubuntu test image
|
||||
run: docker pull ghcr.io/bunkerity/ubuntu-tests:${{ inputs.RELEASE }}
|
||||
- name: Copy deb file to host
|
||||
if: inputs.RELEASE != '1.6'
|
||||
run: |
|
||||
container_id=$(docker create "ghcr.io/bunkerity/ubuntu-tests:${{ inputs.RELEASE }}")
|
||||
docker cp "$container_id:/opt/bunkerweb_${{ inputs.RELEASE }}-1_amd64.deb" "/tmp/bunkerweb.deb"
|
||||
docker rm "$container_id"
|
||||
- name: Copy deb file to host 1.6
|
||||
if: inputs.RELEASE == '1.6'
|
||||
run: |
|
||||
container_id=$(docker create "ghcr.io/bunkerity/ubuntu-tests:${{ inputs.RELEASE }}")
|
||||
docker cp "$container_id:/opt/bunkerweb_dev-1_amd64.deb" "/tmp/bunkerweb.deb"
|
||||
docker rm "$container_id"
|
||||
- name: Install NGINX
|
||||
run: |
|
||||
export NEEDRESTART_SUSPEND=1
|
||||
|
|
|
|||
Loading…
Reference in a new issue