Explorar o código

build job sidecar in amd and arm

dgtown %!s(int64=2) %!d(string=hai) anos
pai
achega
f33170f532
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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:
 on:
   push:
   push:
@@ -53,7 +53,7 @@ jobs:
         with:
         with:
           context: services/${{ matrix.apps.name }}
           context: services/${{ matrix.apps.name }}
           platforms: linux/amd64,linux/arm64
           platforms: linux/amd64,linux/arm64
-          push: true
+          push: github.ref == 'refs/heads/master'
           tags: |
           tags: |
             ghcr.io/porter-dev/${{ matrix.apps.name }}:${{ steps.vars.outputs.sha_short }}
             ghcr.io/porter-dev/${{ matrix.apps.name }}:${{ steps.vars.outputs.sha_short }}
             ghcr.io/porter-dev/${{ matrix.apps.name }}:latest
             ghcr.io/porter-dev/${{ matrix.apps.name }}:latest