diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index f495798..14f9e46 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -70,13 +70,13 @@ jobs: 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 }} - name: Login to DockerHub uses: docker/login-action@v1 - if: github.event_name == 'push' || github.event_name == 'schedule' + if: github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Push to Dockerhub uses: docker/build-push-action@v2 - if: github.event_name == 'push' || github.event_name == 'schedule' + if: github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' with: context: . platforms: linux/${{ matrix.arch }} @@ -102,7 +102,7 @@ jobs: release: name: 'Update and test manifests' - if: github.event_name == 'push' || github.event_name == 'schedule' + if: github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' needs: build-and-push runs-on: ubuntu-latest steps: