Skip to content

Commit f5154c6

Browse files
committed
delete checker on main when tagged commit
1 parent 333e325 commit f5154c6

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.github/workflows/docker-publish.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,6 @@ jobs:
1212
- name: Checkout repository
1313
uses: actions/checkout@v4
1414

15-
- name: Ensure tag commit is on main
16-
run: |
17-
TAG_COMMIT=$(git rev-parse "$GITHUB_SHA")
18-
# List branches containing this commit; look for origin/main
19-
if ! git branch -r --contains "$TAG_COMMIT" | grep "origin/main" ; then
20-
echo "Tag is not on main. Aborting."
21-
exit 1
22-
fi
23-
24-
- name: Checkout repository
25-
uses: actions/checkout@v4
26-
2715
- name: Set up Docker Buildx
2816
uses: docker/setup-buildx-action@v3
2917

0 commit comments

Comments
 (0)