You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recognizing a deployed Labspace is simply a published Compose file, it's fairly easy to do so in CI.
4
+
5
+
## Using GitHub Actions
6
+
7
+
Before publishing using GitHub Actions, you will need to do the following:
8
+
9
+
- Setup a `DOCKERHUB_USERNAME` and `DOCKERHUB_TOKEN` secret in GHA
10
+
11
+
The following workflow definition will publish to Hub using the `.labspace/compose.override.yaml` file. You will need to swap out the `YOUR-HUB-REPO-NAME-HERE` with the name of your Docker Hub repo.
12
+
13
+
```yaml
14
+
name: Publish Labspace
15
+
16
+
on:
17
+
push:
18
+
branches:
19
+
- main
20
+
21
+
jobs:
22
+
build-and-push:
23
+
runs-on: ubuntu-latest
24
+
steps:
25
+
- name: Checkout code
26
+
uses: actions/checkout@v4
27
+
28
+
# Ensure Compose v2.39.3+ is available (includes bug fixes for publishing)
29
+
# Can remove this action once default runners include it
0 commit comments