Skip to content

Commit 979ab0c

Browse files
[Chore] Automatically trigger DockerHub release (#38)
* chore: automatically trigger DockerHub release
1 parent 2def6e4 commit 979ab0c

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

.changeset/config.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,9 @@
77
"access": "restricted",
88
"baseBranch": "origin/main",
99
"updateInternalDependencies": "patch",
10-
"ignore": []
10+
"ignore": [],
11+
"privatePackages": {
12+
"tag": true,
13+
"version": true
14+
}
1115
}

.github/workflows/image_release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Publishes the Docker image to DockerHub
2+
# This is triggered whenever the `service` is versioned and tagged
23
name: Docker Image Release
34

4-
on: workflow_dispatch
5+
on:
6+
push:
7+
tags:
8+
- '@powersync/service-image*'
59

610
concurrency: ${{ github.workflow }}-${{ github.ref }}
711

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"build:ts": "tsc -b",
1616
"watch:ts": "pnpm build:ts -w --preserveWatchOutput",
1717
"watch:service": "concurrently --passthrough-arguments \"pnpm watch:ts\" \" pnpm start:service {@}\" -- ",
18-
"start:service": "pnpm --filter powersync-open-service watch",
18+
"start:service": "pnpm --filter @powersync/service-image watch",
1919
"clean": "pnpm run -r clean",
2020
"release": "pnpm build:production && pnpm changeset publish",
2121
"test": "pnpm run -r test"

service/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# powersync-open-service
1+
# @powersync/service-image
22

33
## 0.3.1
44

service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "powersync-open-service",
2+
"name": "@powersync/service-image",
33
"version": "0.3.1",
44
"private": true,
55
"license": "FSL-1.1-Apache-2.0",

0 commit comments

Comments
 (0)