Skip to content

Commit 64c5157

Browse files
committed
update build conditions
1 parent 69ad245 commit 64c5157

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker-publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ name: Docker
77

88
on:
99
push:
10-
branches: [ "main" ]
10+
branches: [ "*" ]
1111
# Publish semver tags as releases.
1212
tags: [ 'v*.*.*' ]
1313
pull_request:
14-
branches: [ "main" ]
14+
branches: [ "*" ]
1515

1616
env:
1717
# Use docker.io for Docker Hub if empty
@@ -75,7 +75,7 @@ jobs:
7575
with:
7676
context: .
7777
push: ${{ github.event_name != 'pull_request' }}
78-
tags: ${{ steps.meta.outputs.tags }}
78+
tags: ${{ steps.meta.outputs.tags }},${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
7979
labels: ${{ steps.meta.outputs.labels }}
8080
cache-from: type=gha
8181
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)