mirror of
https://github.com/bitwarden/server.git
synced 2025-04-24 06:25:09 -05:00
Test copying files from Docker images
This commit is contained in:
parent
dd80b2e99f
commit
285741784a
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@ -304,17 +304,21 @@ jobs:
|
|||||||
linux/arm/v7,
|
linux/arm/v7,
|
||||||
linux/arm64
|
linux/arm64
|
||||||
push: true
|
push: true
|
||||||
outputs: type=tar,dest=${{ matrix.project_name }}.tar
|
|
||||||
tags: ${{ steps.image-name.outputs.name }}
|
tags: ${{ steps.image-name.outputs.name }}
|
||||||
|
|
||||||
- name: TEST STEP
|
- name: TEST STEP
|
||||||
run: |
|
run: |
|
||||||
ls -alh
|
mkdir linux-amd64
|
||||||
mkdir -p TEST
|
docker run --rm -ti --platform linux/amd64 --volume $(pwd):/temp ${{ steps.image-name.outputs.name }} cp -r /app /temp/linux-amd64
|
||||||
mv ${{ matrix.project_name }}.tar TEST/
|
file linux-amd64/app/${{ matrix.project_name }}.dll
|
||||||
cd TEST
|
|
||||||
tar -xvf admin.tar
|
mkdir linux-arm
|
||||||
ls -alh
|
docker run --rm -ti --platform linux/arm --volume $(pwd):/temp ${{ steps.image-name.outputs.name }} cp -r /app /temp/linux-arm
|
||||||
|
file linux-arm/app/${{ matrix.project_name }}.dll
|
||||||
|
|
||||||
|
mkdir linux-arm64
|
||||||
|
docker run --rm -ti --platform linux/arm64 --volume $(pwd):/temp ${{ steps.image-name.outputs.name }} cp -r /app /temp/linux-arm64
|
||||||
|
file linux-arm64/app/${{ matrix.project_name }}.dll
|
||||||
|
|
||||||
- name: Log out of Docker
|
- name: Log out of Docker
|
||||||
run: docker logout
|
run: docker logout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user