Do not try to create docker image for PRs

This commit is contained in:
Adam Saghy
2024-11-28 10:03:05 +01:00
parent c2d72c96ae
commit 6411a598de
@@ -3,8 +3,6 @@ name: Publish Image in Docker Hub
on: on:
push: push:
branches: [ master ] branches: [ master ]
pull_request:
branches: [ master ]
jobs: jobs:
@@ -33,4 +31,3 @@ jobs:
- name: Docker Hub Push - name: Docker Hub Push
run: docker image push $DOCKER_ORGANIZATION/web-app:$WEB_APP_VERSION run: docker image push $DOCKER_ORGANIZATION/web-app:$WEB_APP_VERSION