Skip to content

Commit 4a51260

Browse files
authored
BFD-4176: Images built during Build Release are not tagged latest (#2742)
1 parent bb29974 commit 4a51260

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/_deploy-env-service-layer.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
strategy:
4040
matrix:
4141
context: ${{ fromJson(inputs.matrix-json)[inputs.layer-level] }}
42-
# Need to specify the custom label "service" or parallel builds will hang due to the workflow
43-
# event being swallowed by the single runner
4442
runs-on:
4543
- codebuild-bfd-${{ inputs.account-type }}-platform-${{ matrix.context.runner }}-${{ github.run_id }}-${{ github.run_attempt }}
4644
service:${{ matrix.context.service }}

.github/workflows/build-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,11 @@ jobs:
117117
imagesCsv: "bfd-platform-base-java, bfd-platform-base-python"
118118
cleanupImageArtifacts: false # Keep the built images around so that they can be used for Jib
119119
skipBasePull: true # We're building the base images, so don't pull them
120+
tagLatest: ${{ !contains(needs.compute-version-strings.outputs.bfd_release, '-') }}
120121
secrets: inherit
121122

122123
run-mvn-release:
123-
runs-on: ubuntu-24.04
124+
runs-on: ubuntu-24.04-arm
124125
needs: [compute-version-strings, build-base-images]
125126
env:
126127
BFD_RELEASE: ${{ needs.compute-version-strings.outputs.bfd_release }}
@@ -338,6 +339,7 @@ jobs:
338339
bfd-platform-pipeline-ccw-runner
339340
baseImagesVersion: ${{ needs.compute-version-strings.outputs.bfd_release }}
340341
cleanupImageArtifacts: false # We'll cleanup at the end of build-release, so don't do anything
342+
tagLatest: ${{ !contains(needs.compute-version-strings.outputs.bfd_release, '-') }}
341343
secrets: inherit
342344

343345
create-gh-release:

0 commit comments

Comments
 (0)