Skip to content

Commit 41f6d72

Browse files
authored
Merge pull request #100 from facchettos/update-pluginyaml
Update pluginyaml
2 parents 1b45939 + bb4251f commit 41f6d72

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/release.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,51 +45,51 @@ jobs:
4545
username: loft-sh
4646
password: ${{ secrets.GITHUB_TOKEN }}
4747
- name: Build and push the hooks
48-
working-directory: ./examples/hooks
49-
id: docker_build
5048
uses: docker/build-push-action@v4
49+
id: docker_build_hooks
5150
with:
52-
file: Dockerfile
51+
file: ./examples/hooks/Dockerfile
5352
platforms: linux/amd64,linux/arm64
5453
push: true
5554
tags: "ghcr.io/loft-sh/vcluster-example-hooks:${{steps.get_version.outputs.release_version}}"
5655
labels: ${{ steps.docker_meta.outputs.labels }}
56+
context: ./examples/hooks
5757
- name: Images digests for
58-
run: echo ${{ steps.docker_build.outputs.digest }}
58+
run: echo ${{ steps.docker_build_hooks.outputs.digest }}
5959
- name: Build and push the bootstrap
60-
id: docker_build
61-
working-directory: ./examples/bootstrap-with-deployment
6260
uses: docker/build-push-action@v4
61+
id: docker_build_bootstrap
6362
with:
64-
file: Dockerfile
63+
file: ./examples/bootstrap-with-deployment/Dockerfile
64+
context: ./examples/bootstrap-with-deployment
6565
platforms: linux/amd64,linux/arm64
6666
push: true
6767
tags: "ghcr.io/loft-sh/vcluster-example-bootstrap-bootstrap-with-deployment:${{steps.get_version.outputs.release_version}}"
6868
labels: ${{ steps.docker_meta.outputs.labels }}
6969
- name: Images digests for bootstrap
70-
run: echo ${{ steps.docker_build.outputs.digest }}
70+
run: echo ${{ steps.docker_build_bootstrap.outputs.digest }}
7171
- name: Build and push import secret
72-
working-directory: ./examples/import-secrets
73-
id: docker_build
7472
uses: docker/build-push-action@v4
73+
id: docker_build_import_secret
7574
with:
76-
file: Dockerfile
75+
file: ./examples/import-secrets/Dockerfile
76+
context: ./examples/import-secrets
7777
platforms: linux/amd64,linux/arm64
7878
push: true
7979
tags: "ghcr.io/loft-sh/vcluster-example-import-secrets:${{steps.get_version.outputs.release_version}}"
8080
labels: ${{ steps.docker_meta.outputs.labels }}
8181
- name: Images digests for import secret
82-
run: echo ${{ steps.docker_build.outputs.digest }}
82+
run: echo ${{ steps.docker_build_import_secret.outputs.digest }}
8383
- name: Build and push crd sync
84-
working-directory: ./examples/crd-sync
85-
id: docker_build
8684
uses: docker/build-push-action@v4
85+
id: docker_build_crd_sync
8786
with:
88-
file: Dockerfile
87+
file: ./examples/crd-sync/Dockerfile
88+
context: ./examples/crd-sync/
8989
platforms: linux/amd64,linux/arm64
9090
push: true
9191
tags: "ghcr.io/loft-sh/vcluster-example-crd-sync:${{steps.get_version.outputs.release_version}}"
9292
labels: ${{ steps.docker_meta.outputs.labels }}
9393
- name: Images digests for crd sync
94-
run: echo ${{ steps.docker_build.outputs.digest }}
94+
run: echo ${{ steps.docker_build_crd_sync.outputs.digest }}
9595

0 commit comments

Comments
 (0)