Skip to content

Commit

Permalink
Workflow: build&push docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
kolayne committed Feb 16, 2024
1 parent b641241 commit 8aed5ff
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,14 @@ jobs:
- name: Test with pytest
run: |
pytest
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: kolay0ne
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push docker image
uses: docker/build-push-action@v5
with:
push: true
tags: kolay0ne/app_py:${{ github.ref_name }}

0 comments on commit 8aed5ff

Please sign in to comment.