diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b2e8882131..b60523c00a 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -62,7 +62,6 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Login to Github Container Registry - if: ${{ !startsWith(github.actor, 'renovate') }} uses: docker/login-action@v3 with: registry: ghcr.io @@ -78,7 +77,7 @@ jobs: cache-to: type=inline sbom: true file: ${{ matrix.package.dockerfile }} - push: ${{ !startsWith(github.actor, 'renovate') }} + push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: | @@ -129,7 +128,7 @@ jobs: GRAFANA_CLOUD_API_KEY: ${{ secrets.GRAFANA_CLOUD_API_KEY }} - name: Commit and push if changed - if: github.event_name == 'push' && !contains(github.ref, 'refs/heads/main') && !contains(github.ref, 'refs/heads/development') + if: github.event_name == 'push' && contains(github.ref, 'refs/heads/development') run: | if git diff --quiet; then echo "No changes to commit."