File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
.github/actions/build-test Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 26
26
run : |
27
27
platform=${{ matrix.platform }}
28
28
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
29
+ sudo apt install -y python3-pip python3-build pipx
29
30
30
31
- name : Set up Docker Buildx
31
32
uses : docker/setup-buildx-action@v3
37
38
shell : bash
38
39
id : ansible-builder-install
39
40
run : |
40
- python3 -m pip install -U ansible-builder build
41
+ set -ex
42
+ python3 -m pipx install --force ansible-builder
41
43
python3 -m build --outdir final/dist/ --wheel
42
44
43
45
- name : Create a build context and Containerfile for base EE
@@ -83,14 +85,13 @@ runs:
83
85
- name : Squash image layers to save disk space
84
86
shell : bash
85
87
run : |
86
- python3 -m pip install --upgrade docker-squash
88
+ python3 -m pipx install --force docker-squash
87
89
docker-squash ${{ inputs.namespace }}/${{ inputs.final_image }}:test
88
90
89
91
- name : Run tests against the container
90
92
shell : bash
91
93
run : |
92
- python3 -m pip install --upgrade pip
93
- python3 -m pip install --upgrade "tox>=4.0.0"
94
+ python3 -m pipx install --force "tox>=4.0.0"
94
95
tox -e test-image -- --container-engine docker --image-name ${{ inputs.namespace }}/${{ inputs.final_image }}:test
95
96
96
97
- name : Push the built image to ${{ inputs.registry }} by digest for ${{ matrix.platform }}
You can’t perform that action at this time.
0 commit comments