Skip to content

Commit

Permalink
Merge pull request #41 from wesley-dean-flexion/annotate
Browse files Browse the repository at this point in the history
Annotate
  • Loading branch information
wesley-dean-flexion authored Mar 12, 2024
2 parents 5219175 + c87fe74 commit 82569c0
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
---
name: Publish Release
name: Publish

# yamllint disable-line rule:truthy
on:
push:
branches:
- "main"
tags:
- "v*"
workflow_dispatch:

permissions: read-all
Expand Down Expand Up @@ -88,13 +86,13 @@ jobs:
name=ghcr.io/${{ secrets.GHCR_USERNAME }}/${{ github.event.repository.name }},enable=${{ steps.ghcr-secret.outputs.ghcr == 'true' }}
name=quay.io/${{ secrets.QUAY_USERNAME }}/${{ github.event.repository.name }},enable=${{ steps.quay-secret.outputs.quay == 'true' }}
tags: |
type=raw,value=latest,enable=${{ startsWith(github.ref, 'ref/tags/v') }}
type=semver,pattern={{version}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
type=semver,pattern={{major}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
type=semver,pattern={{major}}.{{minor}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
type=edge,branch=main
type=sha
type=sha,format=long
type=edge,branch=main
type=semver,pattern={{version}},enable=${{ github.event_name == 'release' }}
type=semver,pattern={{major}},enable=${{ github.event_name == 'release' }}
type=semver,pattern={{major}}.{{minor}},enable=${{ github.event_name == 'release' }}
type=raw,value=latest,enable=${{ github.event_name == 'release' }}
- name: Build and push
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # pin@v4
Expand Down

0 comments on commit 82569c0

Please sign in to comment.