File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change 30
30
run : task lint
31
31
- name : Run test all versions
32
32
run : task test:all
33
-
34
- docker-build-test :
35
- name : 🐳 Multi-platform Docker Build Test
36
- needs : check
37
- runs-on : ubuntu-latest
38
- steps :
39
- - name : Check out the repo
40
- uses : actions/checkout@v4
41
- - name : Check if Dockerfile exists
42
- id : dockerfile-check
43
- run : |
44
- if [ -f "./docker/Dockerfile" ]; then
45
- echo "dockerfile-exists=true" >> $GITHUB_OUTPUT
46
- else
47
- echo "dockerfile-exists=false" >> $GITHUB_OUTPUT
48
- echo "Dockerfile not found, skipping Docker build test"
49
- fi
50
- - name : Set up QEMU
51
- if : steps.dockerfile-check.outputs.dockerfile-exists == 'true'
52
- uses : docker/setup-qemu-action@v3
53
- - name : Test Build Image (no push)
54
- if : steps.dockerfile-check.outputs.dockerfile-exists == 'true'
55
- id : build-image
56
- uses : redhat-actions/buildah-build@v2
57
- with :
58
- image : ${{ github.repository }}-test
59
- tags : test-${{ github.sha }}
60
- containerfiles : ./docker/Dockerfile
61
- platforms : linux/amd64,linux/arm64
62
- build-args : |-
63
- PYPI_SERVER_USERNAME=${{ env.PYPI_SERVER_USERNAME }}
64
- PYPI_SERVER_PASSWORD=${{ env.PYPI_SERVER_PASSWORD }}
You can’t perform that action at this time.
0 commit comments