build: reinstate docker push for main

This commit is contained in:
Jakob Borg 2024-12-21 16:17:21 +01:00
parent 0dc85d74aa
commit 2167ce9656
No known key found for this signature in database

View File

@ -843,8 +843,8 @@ jobs:
docker-syncthing: docker-syncthing:
name: Build and push Docker images name: Build and push Docker images
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || github.ref == 'refs/heads/infrastructure' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v')) if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/release' || github.ref == 'refs/heads/infrastructure' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v'))
environment: release environment: docker
permissions: permissions:
contents: read contents: read
packages: write packages: write