diff --git a/.github/workflows/dev_container.yml b/.github/workflows/dev_container.yml index cf88648207..fa00925659 100644 --- a/.github/workflows/dev_container.yml +++ b/.github/workflows/dev_container.yml @@ -27,6 +27,7 @@ jobs: - name: Login to Docker Hub uses: docker/login-action@v3 + if: github.event_name != 'pull_request' with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -44,7 +45,7 @@ jobs: with: images: | ghcr.io/PX4/px4-dev - px4io/px4-dev + ${{ (github.event_name != 'pull_request') && 'px4io/px4-dev' || '' }} tags: | type=schedule type=semver,pattern={{version}}