Преглед изворни кода

Update docker.yml

limit docker build to main branch
yuhan6665 пре 2 година
родитељ
комит
ae518cce52
1 измењених фајлова са 2 додато и 2 уклоњено
  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 }}