Skip to content

Commit

Permalink
Build docker images on tags only 2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexheretic committed Dec 1, 2024
1 parent 4e32d34 commit cd1db37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Create and Publish a Docker image

on:
push:
branches: [main]
tags: ["*"]
tags: [main]
if: "startsWith(github.ref, 'refs/tags/')"

env:
REGISTRY: ghcr.io
Expand Down

0 comments on commit cd1db37

Please sign in to comment.