Skip to content

Commit 8c9f2ea

Browse files
committed
Fix tags metadata when publishing
1 parent aa30b4d commit 8c9f2ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ jobs:
3030
images: |
3131
reactnativecommunity/react-native-android
3232
tags: |
33-
type=ref,event=pr
33+
type=ref,event=tag
3434
type=semver,pattern={{version}}
3535
type=semver,pattern={{major}}
3636
- name: Build & publish to Docker Hub
3737
uses: docker/build-push-action@v4
3838
with:
39+
context: .
3940
push: ${{ github.event_name != 'pull_request' }}
4041
tags: ${{ steps.meta.outputs.tags }}
42+
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)