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