瀏覽代碼

Merge pull request #388 from AtkinsSJ/no-docker-images-for-prs

ci: Stop producing Docker images for PRs
Sam Atkins 1 年之前
父節點
當前提交
7243ed718f
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      .github/workflows/docker-image.yaml

+ 1 - 4
.github/workflows/docker-image.yaml

@@ -9,9 +9,6 @@ on:
       - '*.*.*'
     # branches:
     #   - 'release'
-  pull_request:
-    branches:
-      - 'main'
 
 # Defines two custom environment variables for the workflow. These are used
 # for the Container registry domain, and a name for the Docker image that
@@ -61,7 +58,7 @@ jobs:
         id: meta
         uses: docker/metadata-action@v5
         with:
-          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
+          images: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}"
           tags: |
             type=semver,pattern={{version}}
             type=semver,pattern={{major}}.{{minor}}