Explorar el Código

Update docker.yml

limit docker build to main branch
yuhan6665 hace 2 años
padre
commit
ae518cce52
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      .github/workflows/docker.yml

+ 2 - 2
.github/workflows/docker.yml

@@ -3,7 +3,7 @@ name: Build docker image
 on:
   push:
     branches:
-      - '*'
+      - main
 
 jobs:
   build-image:
@@ -42,4 +42,4 @@ jobs:
           file: .github/docker/Dockerfile
           push: true
           tags: ${{ steps.meta.outputs.tags }}
-          labels: ${{ steps.meta.outputs.labels }}
+          labels: ${{ steps.meta.outputs.labels }}