Skip to content

Commit

Permalink
Add docker push ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikWin committed Aug 18, 2024
1 parent 8568daa commit 12ec7a8
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:

publish-py:
runs-on: ubuntu-latest
timeout-minutes: 3

steps:
- uses: actions/checkout@v2
Expand All @@ -31,3 +32,28 @@ jobs:
env:
FLIT_USERNAME: __token__
FLIT_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}

publish-docker:
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build
uses: docker/build-push-action@v6
with:
push: true
tags: dominikwinecki/vidformer:latest,dominikwinecki/vidformer:${{ github.event.release.tag_name }}
2 changes: 1 addition & 1 deletion vidformer-py/src/vidformer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""A Python library for creating and viewing videos with vidformer."""

__version__ = "0.3.0"
__version__ = "0.3.1"

import subprocess
from fractions import Fraction
Expand Down

0 comments on commit 12ec7a8

Please sign in to comment.