Skip to content

Commit 49748b0

Browse files
authored
Set up missing MAIN_BRANCH env variable in CI (#638)
Signed-off-by: Patrik Stas <patrik.stas@absa.africa> Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
1 parent bddaedd commit 49748b0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
env:
1212
DOCKER_BUILDKIT: 1
13+
MAIN_BRANCH: main
1314
URL_DOCKER_REGISTRY: ghcr.io
1415
DOCKER_IMAGE_AGENCY: ghcr.io/absaoss/vcxagencynode/vcxagency-node:2.2.0
1516
DOCKER_IMAGE_POOL: pstas/indypool-localhost:1.15.0-localhost
@@ -91,6 +92,7 @@ jobs:
9192
build-arg: "USER_ID=$UID"
9293
dockerfile-path: "ci/alpine_core.dockerfile"
9394
branch-name: ${{ env.BRANCH_NAME }}
95+
branch-main: ${{ env.MAIN_BRANCH }}
9496
docker-repo-local-name: ${{ env.DOCKER_REPO_LOCAL_ALPINE_CORE }}
9597

9698
build-docker-libvcx:
@@ -120,6 +122,7 @@ jobs:
120122
build-arg: "ALPINE_CORE_IMAGE=$DOCKER_IMG_CACHED_ALPINE_CORE"
121123
dockerfile-path: "ci/libvcx.dockerfile"
122124
branch-name: ${{ env.BRANCH_NAME }}
125+
branch-main: ${{ env.MAIN_BRANCH }}
123126
docker-repo-local-name: ${{ env.DOCKER_REPO_LOCAL_LIBVCX }}
124127

125128
build-docker-android:
@@ -144,6 +147,7 @@ jobs:
144147
docker-img: ${{ env.DOCKER_IMG_CACHED }}
145148
dockerfile-path: "wrappers/java/ci/android.dockerfile"
146149
branch-name: ${{ env.BRANCH_NAME }}
150+
branch-main: ${{ env.MAIN_BRANCH }}
147151
docker-repo-local-name: ${{ env.DOCKER_REPO_LOCAL_ANDROID }}
148152

149153
#

0 commit comments

Comments
 (0)