File tree Expand file tree Collapse file tree 2 files changed +10
-13
lines changed
Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 1- name : Build and Push Docker Image
1+ name : Publish Labspace
22
33on :
44 push :
@@ -13,21 +13,13 @@ jobs:
1313 - name : Checkout code
1414 uses : actions/checkout@v4
1515
16- # Ensure Compose v2.39.3+ is available (includes bug fixes for publishing)
17- # Can remove this action once default runners include it
18- - name : Set up Docker Compose
19- uses : docker/setup-compose-action@v1
20- with :
21- version : v2.39.3
22-
2316 - name : Log in to DockerHub
2417 uses : docker/login-action@v3
2518 with :
2619 username : ${{ secrets.DOCKERHUB_USERNAME }}
2720 password : ${{ secrets.DOCKERHUB_TOKEN }}
2821
29- - name : Publish Compose file
30- run : |
31- docker compose -f oci://dockersamples/labspace -f .labspace/compose.override.yaml publish dockersamples/labspace-container-supported-development --with-env -y
32- env :
33- DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
22+ - name : Publish Labspace
23+ uses : dockersamples/publish-labspace-action@v1
24+ with :
25+ target_repo : ${{ env.DOCKERHUB_REPO }}
Original file line number Diff line number Diff line change 1+ metadata :
2+ id : dockersamples/labspace-container-supported-development
3+ sourceRepo : github.com/dockersamples/labspace-container-supported-development
4+ contentVersion : abcd123 # Will be replaced during release process
5+
16title : Container-supported development
27description : |
38 Run databases, debug tools, and more across your entire team with minimal setup.
You can’t perform that action at this time.
0 commit comments