Skip to content

Commit 4f53fe7

Browse files
authored
Merge pull request #29 from DataDog/lloeki/add-centos-gcc-tag-to-ci
Add `-centos-gcc` tag to CI
2 parents 52d10e3 + 7362a4b commit 4f53fe7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-ruby.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,9 @@ jobs:
286286
run: |
287287
docker buildx build ${{ steps.vars.outputs.SRC }} --cache-from=type=registry,ref=${{ steps.vars.outputs.IMAGE }}:${{ steps.vars.outputs.RELEASE_TAG }} --output=type=image,push=true --build-arg BUILDKIT_INLINE_CACHE=1 --platform ${{ steps.vars.outputs.DOCKER_PLATFORMS }} -f ${{ steps.vars.outputs.DOCKERFILE }} --tag ${{ steps.vars.outputs.IMAGE }}:${{ matrix.version }}
288288
289-
# TODO: hardcoded, reuse append-tags directive instead (or better, unify gnu)
289+
# TODO: hardcoded, reuse append-tags directive instead (or better, unify gnu+centos)
290290
- name: Push release compiler image (${{ join(matrix.arch, ', ') }})
291-
if: ${{ inputs.push && matrix.libc == 'gnu' }}
291+
if: ${{ inputs.push && (matrix.libc == 'gnu' || matrix.libc == 'centos') }}
292292
run: |
293293
docker buildx build ${{ steps.vars.outputs.SRC }} --cache-from=type=registry,ref=${{ steps.vars.outputs.IMAGE }}:${{ steps.vars.outputs.RELEASE_TAG }}-gcc --output=type=image,push=true --build-arg BUILDKIT_INLINE_CACHE=1 --platform ${{ steps.vars.outputs.DOCKER_PLATFORMS }} -f ${{ steps.vars.outputs.DOCKERFILE }} --tag ${{ steps.vars.outputs.IMAGE }}:${{ steps.vars.outputs.RELEASE_TAG }}-gcc
294294

0 commit comments

Comments
 (0)