Procházet zdrojové kódy

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

ci: Stop producing Docker images for PRs
Sam Atkins před 1 rokem
rodič
revize
7243ed718f
1 změnil soubory, kde provedl 1 přidání a 4 odebrání
  1. 1 4
      .github/workflows/docker-image.yaml

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

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