فهرست منبع

build job sidecar in amd and arm

dgtown 2 سال پیش
والد
کامیت
f33170f532
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      .github/workflows/release_services.yaml

+ 2 - 2
.github/workflows/release_services.yaml

@@ -1,5 +1,5 @@
 ---
-name: build
+name: release_services
 
 on:
   push:
@@ -53,7 +53,7 @@ jobs:
         with:
           context: services/${{ matrix.apps.name }}
           platforms: linux/amd64,linux/arm64
-          push: true
+          push: github.ref == 'refs/heads/master'
           tags: |
             ghcr.io/porter-dev/${{ matrix.apps.name }}:${{ steps.vars.outputs.sha_short }}
             ghcr.io/porter-dev/${{ matrix.apps.name }}:latest