2
0
Эх сурвалжийг харах

use dev porter preview action

Mohammed Nafees 3 жил өмнө
parent
commit
20d0a95501

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

@@ -26,7 +26,7 @@ jobs:
       uses: actions/checkout@v2.3.4
       uses: actions/checkout@v2.3.4
     - name: Create Porter preview env
     - name: Create Porter preview env
       timeout-minutes: 30
       timeout-minutes: 30
-      uses: porter-dev/porter-preview-action@v0.2.1
+      uses: porter-dev/porter-preview-action@dev
       with:
       with:
         action_id: ${{ github.run_id }}
         action_id: ${{ github.run_id }}
         cluster: "2489"
         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) {
 func (b *Build) getV1PushImage() (*types.Resource, error) {
 	config := &preview.PushDriverConfig{}
 	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)
 	rawConfig := make(map[string]any)