File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ jobs:
259
259
packages : write
260
260
261
261
env :
262
- PUSH_PACKAGES : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
262
+ PUSH_PACKAGES : ${{ github.ref == 'refs/heads/main' || startsWith( 'refs/heads/hotfix', github.ref) }}
263
263
REGISTRY : ghcr.io
264
264
IMAGE_NAME : ${{ github.repository_owner }}/${{ matrix.project }}
265
265
DOCKER_FILE : ./${{ matrix.project }}/Dockerfile.ci
@@ -301,6 +301,7 @@ jobs:
301
301
tags : ${{ steps.meta.outputs.tags }}
302
302
303
303
unstable-release :
304
+ if : github.ref == 'refs/heads/main' || startsWith('refs/heads/hotfix', github.ref)
304
305
runs-on : ubuntu-22.04
305
306
needs :
306
307
- build
@@ -327,7 +328,6 @@ jobs:
327
328
path : ./build
328
329
329
330
- name : Update unstable release
330
- if : github.ref == 'refs/heads/main'
331
331
uses : marvinpinto/action-automatic-releases@latest
332
332
with :
333
333
repo_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments