💚 Make CI not build the docker image on PRs

This commit is contained in:
ajnart
2022-07-24 20:22:24 +02:00
parent 68d81b97b4
commit 2cf89a1eb3

View File

@@ -70,6 +70,7 @@ jobs:
- run: yarn build - run: yarn build
- name: Docker meta - name: Docker meta
if: github.event_name != 'pull_request'
id: meta id: meta
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
@@ -95,6 +96,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push - name: Build and push
if: github.event_name != 'pull_request'
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
with: with:
platforms: linux/amd64,linux/arm64,linux/arm/v7 platforms: linux/amd64,linux/arm64,linux/arm/v7