We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31c9159 commit 6c177ebCopy full SHA for 6c177eb
.github/workflows/build.yml
@@ -6,12 +6,19 @@ on:
6
- v*
7
release:
8
types: [ "published" ]
9
+ # The "Sync branch" workflow doesn't trigger the push event, therefore we need a separate trigger for that
10
+ workflow_run:
11
+ workflows: [Sync branch]
12
+ types:
13
+ - completed
14
15
env:
16
# Use docker.io for Docker Hub if empty
17
REGISTRY: ghcr.io
18
# github.repository as <account>/<repo>
19
IMAGE_NAME: ${{ github.repository }}
20
+ # Branch to build the container image from
21
+ BRANCH: v1
22
23
jobs:
24
build:
@@ -24,6 +31,8 @@ jobs:
31
steps:
25
32
- name: Checkout repository
26
33
uses: actions/checkout@v4
34
+ with:
35
+ ref: ${{ env.BRANCH }}
27
36
28
37
- name: Get Node Version
29
38
run: echo "NODE_VERSION=$(cat .node-version)" >> $GITHUB_ENV
0 commit comments