Skip to content

Commit

Permalink
Fix enable attribute type
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianDAlessandro committed Aug 2, 2024
1 parent fa4999d commit 3fefe7e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
on: [release]
on:
release:
types: [published]

jobs:
test:
Expand All @@ -21,8 +23,8 @@ jobs:
images: ghcr.io/${{ github.repository }}
tags: |
type=semver,pattern={{raw}}
type=raw,value=latest,enable={{!github.event.prerelease}}
type=raw,value=pre-release,enable={{!github.event.prerelease}}
type=raw,value=latest,enable={{!github.event.release.prerelease}}
type=raw,value=pre-release,enable={{github.event.release.prerelease}}
# - name: Build and push Docker image
# uses: docker/build-push-action@v2
# with:
Expand Down

0 comments on commit 3fefe7e

Please sign in to comment.