feat(ci): push images for each push to release branches
This change configures CI to additionally push images with the git SHA
tag on each push to release branches like for pushes to main.
@@ -294,7 +294,7 @@ jobs:
images:
name: Docker Images
runs-on: ubuntu-latest
- if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}
+ if: ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release-') && github.event_name == 'push' }}
env:
DOCKER_USER: ${{ secrets.RELEASE_DOCKER_USER }}
DOCKER_PASS: ${{ secrets.RELEASE_DOCKER_PASS }}
