Skip to content

Commit 4f018d9

Browse files
committed
build: build docker images sequentially
1 parent cb04a41 commit 4f018d9

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/release-docker.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515

1616
- name: Set appVersion
1717
uses: bhowell2/github-substring-action@v1
@@ -23,7 +23,7 @@ jobs:
2323
- run: echo "Version = ${{steps.appVersion.outputs.substring}}"
2424

2525
- name: Set up JDK
26-
uses: actions/setup-java@v4
26+
uses: actions/setup-java@v5
2727
with:
2828
distribution: temurin
2929
java-version: 17
@@ -49,12 +49,17 @@ jobs:
4949

5050
- name: Build and push
5151
id: docker_build
52-
uses: docker/build-push-action@v5
52+
uses: docker/build-push-action@v6
5353
with:
5454
context: .
5555
platforms: linux/amd64,linux/arm64
5656
push: true
5757
tags: pgkb/pharmcat:latest,pgkb/pharmcat:${{steps.appVersion.outputs.substring}}
58+
env:
59+
# Explicitly enable BuildKit (optional with Buildx)
60+
DOCKER_BUILDKIT: 1
61+
# Limit to one parallel build for lower RAM
62+
BUILDKIT_MAX_PARALLELISM: 1
5863

5964

6065
- name: Send Slack notification on failure

0 commit comments

Comments
 (0)