@@ -26,17 +26,50 @@ jobs:
2626 username : ${{ github.actor }}
2727 password : ${{ secrets.GITHUB_TOKEN }}
2828
29- - name : Extract metadata (tags, labels) for Docker
30- id : meta
29+ # Process for the `director` subfolder
30+ - name : Extract metadata (tags, labels) for Docker (director)
31+ id : metaDirector
3132 uses : docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
3233 with :
3334 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3435
35- - name : Build and push Docker image
36+ - name : Build and push Docker image (director)
3637 uses : docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
3738 with :
38- context : .
39+ context : ./director
3940 push : true
40- tags : ${{ steps.meta.outputs.tags }}
41- labels : ${{ steps.meta.outputs.labels }}
41+ tags : ${{ steps.metaDirector.outputs.tags }}
42+ labels : ${{ steps.metaDirector.outputs.labels }}
43+ platforms : linux/arm/v7
44+
45+ # Process for the `storage` subfolder
46+ - name : Extract metadata (tags, labels) for Docker (storage)
47+ id : metaStorage
48+ uses : docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
49+ with :
50+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
51+
52+ - name : Build and push Docker image (storage)
53+ uses : docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
54+ with :
55+ context : ./storage
56+ push : true
57+ tags : ${{ steps.metaStorage.outputs.tags }}
58+ labels : ${{ steps.metaStorage.outputs.labels }}
59+ platforms : linux/arm/v7
60+
61+ # Process for the `webui` subfolder
62+ - name : Extract metadata (tags, labels) for Docker (webui)
63+ id : metaWebui
64+ uses : docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
65+ with :
66+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
67+
68+ - name : Build and push Docker image (webui)
69+ uses : docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
70+ with :
71+ context : ./webui
72+ push : true
73+ tags : ${{ steps.metaWebui.outputs.tags }}
74+ labels : ${{ steps.metaWebui.outputs.labels }}
4275 platforms : linux/arm/v7
0 commit comments