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
|
# 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:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
steps:
|
steps:
|
||||||
|
@ -57,6 +56,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
registry.mgrote.net/${{ steps.name.outputs.REPO_NAME }}
|
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
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
# - name: Login to Docker Hub
|
# - name: Login to Docker Hub
|
||||||
|
|
Loading…
Reference in a new issue