chore(ci): allow build-server-image to build and push from release branches (#36716)

This commit is contained in:
Jesse Hallam
2026-05-22 14:15:23 -04:00
committed by GitHub
parent 44ba06ee3c
commit b60ba8b6b4
+3 -2
View File
@@ -4,6 +4,7 @@ on:
push:
branches:
- master
- release-*
paths:
- server/build/Dockerfile.buildenv
- server/build/Dockerfile.buildenv-fips
@@ -57,7 +58,7 @@ jobs:
echo "GO_VERSION=${GO_VERSION}" >> "${GITHUB_OUTPUT}"
- name: buildenv/push
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-')
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
with:
provenance: false
@@ -103,7 +104,7 @@ jobs:
echo "GO_VERSION=${GO_VERSION}" >> "${GITHUB_OUTPUT}"
- name: buildenv/push
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-')
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
with:
provenance: false