@@ -45,51 +45,51 @@ jobs:
45
45
username : loft-sh
46
46
password : ${{ secrets.GITHUB_TOKEN }}
47
47
- name : Build and push the hooks
48
- working-directory : ./examples/hooks
49
- id : docker_build
50
48
uses : docker/build-push-action@v4
49
+ id : docker_build_hooks
51
50
with :
52
- file : Dockerfile
51
+ file : ./examples/hooks/ Dockerfile
53
52
platforms : linux/amd64,linux/arm64
54
53
push : true
55
54
tags : " ghcr.io/loft-sh/vcluster-example-hooks:${{steps.get_version.outputs.release_version}}"
56
55
labels : ${{ steps.docker_meta.outputs.labels }}
56
+ context : ./examples/hooks
57
57
- name : Images digests for
58
- run : echo ${{ steps.docker_build .outputs.digest }}
58
+ run : echo ${{ steps.docker_build_hooks .outputs.digest }}
59
59
- name : Build and push the bootstrap
60
- id : docker_build
61
- working-directory : ./examples/bootstrap-with-deployment
62
60
uses : docker/build-push-action@v4
61
+ id : docker_build_bootstrap
63
62
with :
64
- file : Dockerfile
63
+ file : ./examples/bootstrap-with-deployment/Dockerfile
64
+ context : ./examples/bootstrap-with-deployment
65
65
platforms : linux/amd64,linux/arm64
66
66
push : true
67
67
tags : " ghcr.io/loft-sh/vcluster-example-bootstrap-bootstrap-with-deployment:${{steps.get_version.outputs.release_version}}"
68
68
labels : ${{ steps.docker_meta.outputs.labels }}
69
69
- name : Images digests for bootstrap
70
- run : echo ${{ steps.docker_build .outputs.digest }}
70
+ run : echo ${{ steps.docker_build_bootstrap .outputs.digest }}
71
71
- name : Build and push import secret
72
- working-directory : ./examples/import-secrets
73
- id : docker_build
74
72
uses : docker/build-push-action@v4
73
+ id : docker_build_import_secret
75
74
with :
76
- file : Dockerfile
75
+ file : ./examples/import-secrets/Dockerfile
76
+ context : ./examples/import-secrets
77
77
platforms : linux/amd64,linux/arm64
78
78
push : true
79
79
tags : " ghcr.io/loft-sh/vcluster-example-import-secrets:${{steps.get_version.outputs.release_version}}"
80
80
labels : ${{ steps.docker_meta.outputs.labels }}
81
81
- name : Images digests for import secret
82
- run : echo ${{ steps.docker_build .outputs.digest }}
82
+ run : echo ${{ steps.docker_build_import_secret .outputs.digest }}
83
83
- name : Build and push crd sync
84
- working-directory : ./examples/crd-sync
85
- id : docker_build
86
84
uses : docker/build-push-action@v4
85
+ id : docker_build_crd_sync
87
86
with :
88
- file : Dockerfile
87
+ file : ./examples/crd-sync/Dockerfile
88
+ context : ./examples/crd-sync/
89
89
platforms : linux/amd64,linux/arm64
90
90
push : true
91
91
tags : " ghcr.io/loft-sh/vcluster-example-crd-sync:${{steps.get_version.outputs.release_version}}"
92
92
labels : ${{ steps.docker_meta.outputs.labels }}
93
93
- name : Images digests for crd sync
94
- run : echo ${{ steps.docker_build .outputs.digest }}
94
+ run : echo ${{ steps.docker_build_crd_sync .outputs.digest }}
95
95
0 commit comments