Skip to content

Commit 125b1c6

Browse files
ci: update github action
1 parent 9b675cd commit 125b1c6

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

.github/workflows/ci-tests.yaml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -30,35 +30,3 @@ jobs:
3030
run: task lint
3131
- name: Run test all versions
3232
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 }}

0 commit comments

Comments
 (0)