Skip to content

Commit 09c052c

Browse files
committed
fixup
1 parent 534ca25 commit 09c052c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/build-and-push.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ env:
1515
FEDORA_VERSION: 42
1616

1717
jobs:
18-
build-and-test:
19-
name: Build and test ${{ matrix.arch }}
18+
build-test-and-push:
19+
name: Build, test and push ${{ matrix.arch }}
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
@@ -48,35 +48,35 @@ jobs:
4848
platforms: linux/${{ matrix.arch }}
4949
load: true
5050
tags: |
51-
fedorapython/fedora-python-tox:test-${{ matrix.arch }}
51+
fedorapython/fedora-python-tox:${{ matrix.arch }}
5252
5353
- name: Test local project
5454
env:
5555
TOXENV: ${{ matrix.toxenv }}
5656
run: |
57-
docker run --rm --platform linux/${{ matrix.arch }} -v $PWD/example_project:/src -w /src -e TOXENV fedorapython/fedora-python-tox:test-${{ matrix.arch }}
57+
docker run --rm --platform linux/${{ matrix.arch }} -v $PWD/example_project:/src -w /src -e TOXENV fedorapython/fedora-python-tox:${{ matrix.arch }}
5858
5959
- name: Test remote project
6060
env:
6161
TOXENV: ${{ matrix.toxenv }}
6262
run: |
63-
docker run --rm --platform linux/${{ matrix.arch }} -e TOXENV -e GIT_URL=https://github.com/frenzymadness/python-tox-example.git fedorapython/fedora-python-tox:test-${{ matrix.arch }}
63+
docker run --rm --platform linux/${{ matrix.arch }} -e TOXENV -e GIT_URL=https://github.com/frenzymadness/python-tox-example.git fedorapython/fedora-python-tox:${{ matrix.arch }}
6464
6565
- name: Test parallel run
6666
env:
6767
TOXENV: ${{ matrix.toxenv }}
6868
run: |
69-
docker run --rm --platform linux/${{ matrix.arch }} -v $PWD/example_project:/src -w /src -e TOXENV -e TOX_PARAMS="-p auto" fedorapython/fedora-python-tox:test-${{ matrix.arch }}
69+
docker run --rm --platform linux/${{ matrix.arch }} -v $PWD/example_project:/src -w /src -e TOXENV -e TOX_PARAMS="-p auto" fedorapython/fedora-python-tox:${{ matrix.arch }}
7070
7171
- name: Test dnf install and wheel build
7272
env:
7373
TOXENV: ${{ matrix.toxenv }}
7474
run: |
75-
docker run --rm --platform linux/${{ matrix.arch }} -e DNF_INSTALL="libffi-devel 'pkgconfig(libgit2) >= 1.9' /usr/bin/cowsay" fedorapython/fedora-python-tox:test-${{ matrix.arch }} sh -c "/run_tests.sh; pip install -I --no-deps --compile --no-binary :all: cffi pygit2~=1.17.0 && cowsay DONE"
75+
docker run --rm --platform linux/${{ matrix.arch }} -e DNF_INSTALL="libffi-devel 'pkgconfig(libgit2) >= 1.9' /usr/bin/cowsay" fedorapython/fedora-python-tox:${{ matrix.arch }} sh -c "/run_tests.sh; pip install -I --no-deps --compile --no-binary :all: cffi pygit2~=1.17.0 && cowsay DONE"
7676
7777
- name: Test external project with WORKDIR
7878
run: |
79-
docker run --rm --platform linux/${{ matrix.arch }} -e TOXENV=py3 -e GIT_URL=https://github.com/frenzymadness/nflxprofile.git -e WORKDIR=python fedorapython/fedora-python-tox:test-${{ matrix.arch }}
79+
docker run --rm --platform linux/${{ matrix.arch }} -e TOXENV=py3 -e GIT_URL=https://github.com/frenzymadness/nflxprofile.git -e WORKDIR=python fedorapython/fedora-python-tox:${{ matrix.arch }}
8080
8181
- name: Login to DockerHub
8282
if: github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
@@ -99,7 +99,7 @@ jobs:
9999
release:
100100
name: Create multi-platform manifests
101101
if: github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
102-
needs: build-and-test
102+
needs: build-test-and-push
103103
runs-on: ubuntu-latest
104104
steps:
105105
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)