Skip to content

Commit

Permalink
chore: enable building for other push-actors than me
Browse files Browse the repository at this point in the history
Signed-off-by: miigotu <[email protected]>
  • Loading branch information
miigotu committed Feb 17, 2024
1 parent 95f3da1 commit 559f9be
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,20 +197,20 @@ jobs:
uses: docker/setup-buildx-action@v3
with:
config: /tmp/buildkitd.toml
- if: github.actor == 'miigotu' && !env.ACT
- if: success() && !env.ACT
name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- if: github.actor == 'miigotu' && !env.ACT
- if: success() && !env.ACT
name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.GITHUB_TOKEN }}
- if: github.actor == 'miigotu'
- if: success()
name: Build and Push
uses: docker/build-push-action@v5
with:
Expand All @@ -225,7 +225,7 @@ jobs:
SOURCE=1
allow: |
security.insecure
- if: github.actor == 'miigotu'
- if: success()
name: Snag wheels
uses: docker/build-push-action@v5
with:
Expand All @@ -239,7 +239,7 @@ jobs:
SOURCE=1
allow: |
security.insecure
- if: github.actor == 'miigotu'
- if: success()
name: List wheels directory
run: |
ls -R /tmp/sickchill-wheels
Expand Down

0 comments on commit 559f9be

Please sign in to comment.