Skip to content

Commit

Permalink
Merge pull request #10 from LemurPwned/workflow-fix
Browse files Browse the repository at this point in the history
attempt at workflow fixes
  • Loading branch information
LemurPwned authored Nov 11, 2023
2 parents 748e255 + e239630 commit d0ae3ba
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install flit
flit install --deps production
flit install --deps production
- name: Build
run: |
flit build
flit publish
env:
FLIT_USERNAME: __token__
FLIT_PASSWORD: ${{ secrets.PYPI_KEY }}
12 changes: 7 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ jobs:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build and push
run: |
docker build . --tag ghcr.io/lemurpwned/video-sampler:latest
docker push ghcr.io/lemurpwned/video-sampler:latest

- name: Build and push image
uses: docker/build-push-action@v2
with:
push: true
tags: |
ghcr.io/lemurpwned/video-sampler:latest
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: Test sampling code

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
Expand Down

0 comments on commit d0ae3ba

Please sign in to comment.