Parcourir la source

use dev porter preview action

Mohammed Nafees il y a 3 ans
Parent
commit
20d0a95501
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      .github/workflows/porter_preview_env.yml
  2. 1 1
      cli/cmd/preview/v2beta1/build.go

+ 1 - 1
.github/workflows/porter_preview_env.yml

@@ -26,7 +26,7 @@ jobs:
       uses: actions/checkout@v2.3.4
     - name: Create Porter preview env
       timeout-minutes: 30
-      uses: porter-dev/porter-preview-action@v0.2.1
+      uses: porter-dev/porter-preview-action@dev
       with:
         action_id: ${{ github.run_id }}
         cluster: "2489"

+ 1 - 1
cli/cmd/preview/v2beta1/build.go

@@ -172,7 +172,7 @@ func (b *Build) getV1BuildImage() (*types.Resource, error) {
 func (b *Build) getV1PushImage() (*types.Resource, error) {
 	config := &preview.PushDriverConfig{}
 
-	config.Push.Image = fmt.Sprintf("\"{ .%s-build-image.image }\"", b.GetName())
+	config.Push.Image = fmt.Sprintf("{ .%s-build-image.image }", b.GetName())
 
 	rawConfig := make(map[string]any)