Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wopox1337 committed Mar 31, 2024
1 parent 8ef9560 commit f3fe690
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [ master ]
paths-ignore:
- "**.md"
pull_request:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
Expand Down Expand Up @@ -33,12 +34,14 @@ jobs:
uses: docker/[email protected]

- name: Log in to Docker Hub
if: github.ref == 'refs/heads/master'
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push Docker image
if: github.ref == 'refs/heads/master'
uses: docker/[email protected]
with:
context: .
Expand Down

0 comments on commit f3fe690

Please sign in to comment.