Skip to content

Commit beee50c

Browse files
committed
Update images and manifests when workflow_dispatch
Or else the manual rebuild has no effect.
1 parent 8934e48 commit beee50c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ jobs:
7070
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 }}
7171
- name: Login to DockerHub
7272
uses: docker/login-action@v1
73-
if: github.event_name == 'push' || github.event_name == 'schedule'
73+
if: github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
7474
with:
7575
username: ${{ secrets.DOCKERHUB_USERNAME }}
7676
password: ${{ secrets.DOCKERHUB_TOKEN }}
7777
- name: Push to Dockerhub
7878
uses: docker/build-push-action@v2
79-
if: github.event_name == 'push' || github.event_name == 'schedule'
79+
if: github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
8080
with:
8181
context: .
8282
platforms: linux/${{ matrix.arch }}
@@ -102,7 +102,7 @@ jobs:
102102

103103
release:
104104
name: 'Update and test manifests'
105-
if: github.event_name == 'push' || github.event_name == 'schedule'
105+
if: github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
106106
needs: build-and-push
107107
runs-on: ubuntu-latest
108108
steps:

0 commit comments

Comments
 (0)