Skip to content

Commit

Permalink
ci: add ignore files
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosette committed Sep 24, 2024
1 parent 5e89666 commit defbce5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,15 @@ name: Publish Docker image
on:
workflow_dispatch:
push:
branches:
- "main"
tags:
- v*
paths-ignore:
- "*.md"
- LICENSE
- ".github/*"
- "docs/*"

jobs:
build_docker:
Expand All @@ -13,7 +20,7 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
with:
fetch-depth: 0

- name: Extract metadata
Expand All @@ -30,7 +37,7 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit defbce5

Please sign in to comment.