ci: new tag format on pr
This commit is contained in:
parent
e81aae89f3
commit
c6ace9125e
1 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,6 @@ on:
|
|||
|
||||
# Variables: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#default-environment-variables + https://forgejo.org/docs/latest/user/actions/#env-1
|
||||
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
steps:
|
||||
|
@ -57,6 +56,10 @@ jobs:
|
|||
with:
|
||||
images: |
|
||||
registry.mgrote.net/${{ steps.name.outputs.REPO_NAME }}
|
||||
tags: |
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
# - name: Login to Docker Hub
|
||||
|
|
Loading…
Reference in a new issue