Skip to content

Commit f8a6c08

Browse files
committed
Add labspace metadata and use new publish action in GHA
1 parent 00b19d9 commit f8a6c08

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

.github/workflows/publish-labspace.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,13 @@ jobs:
1616
- name: Checkout code
1717
uses: actions/checkout@v4
1818

19-
# Ensure Compose v2.39.3+ is available (includes bug fixes for publishing)
20-
# Can remove this action once default runners include it
21-
- name: Set up Docker Compose
22-
uses: docker/setup-compose-action@v1
23-
with:
24-
version: v2.39.3
25-
2619
- name: Log in to DockerHub
2720
uses: docker/login-action@v3
2821
with:
2922
username: ${{ secrets.DOCKERHUB_USERNAME }}
3023
password: ${{ secrets.DOCKERHUB_TOKEN }}
3124

32-
- name: Publish Compose file
33-
run: |
34-
docker compose -f oci://dockersamples/labspace -f .labspace/compose.override.yaml publish ${DOCKERHUB_REPO} --with-env -y
25+
- name: Publish Labspace
26+
uses: dockersamples/publish-labspace-action@v1
27+
with:
28+
target_repo: ${{ env.DOCKERHUB_REPO }}

labspace.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
metadata:
2+
id: dockersamples/labspace-fine-tuning
3+
sourceRepo: github.com/dockersamples/labspace-fine-tuning
4+
contentVersion: abcd123 # Will be replaced during release process
5+
16
title: Fine-tuning models with Docker Offload and Unsloth
27
description: |
38
Learn how to fine-tune lightweight LLMs to meet your application's needs

0 commit comments

Comments
 (0)