Skip to content

Commit 85c2c4d

Browse files
authored
Merge pull request #24 from meceware/dev
v1.0.0.rc5
2 parents 1befc95 + 399992e commit 85c2c4d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/docker-build.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
- main
77
tags:
88
- 'v*'
9-
pull_request:
10-
branches:
11-
- main
129

1310
env:
1411
REGISTRY: ghcr.io
@@ -58,6 +55,7 @@ jobs:
5855
with:
5956
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6057
tags: |
58+
type=raw,value=latest
6159
type=ref,event=branch
6260
type=ref,event=pr
6361
type=semver,pattern={{version}}
@@ -68,7 +66,7 @@ jobs:
6866
uses: docker/build-push-action@v5
6967
with:
7068
context: .
71-
push: ${{ github.event_name != 'pull_request' }}
69+
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
7270
tags: ${{ steps.meta.outputs.tags }}
7371
labels: ${{ steps.meta.outputs.labels }}
7472
cache-from: type=gha

0 commit comments

Comments
 (0)