diff --git a/.github/workflows/dockerbuild.yml b/.github/workflows/dockerbuild.yml index d428527..ec7afa6 100644 --- a/.github/workflows/dockerbuild.yml +++ b/.github/workflows/dockerbuild.yml @@ -3,6 +3,8 @@ name: ci on: push: branches: main + pull_request: + branches: main jobs: multi: @@ -40,7 +42,7 @@ jobs: file: ./Dockerfile platforms: linux/amd64,linux/arm/v7,linux/arm64 if: github.event_name != 'pull_request' - push: true + push: ${{ github.event_name != 'pull_request' && true || false }} tags: | pgils/python-swiftclient:latest pgils/python-swiftclient:${{ steps.tag.outputs.current-version }}