From d522627dc5ac8867a433c2e81a1dee73f1f7e85e Mon Sep 17 00:00:00 2001 From: Julian Nguyen <109386615+juliannguyen4@users.noreply.github.com> Date: Fri, 8 Nov 2024 10:17:35 -0800 Subject: [PATCH] Set openssl version as image label --- .github/workflows/manylinux2014-openssl.Dockerfile | 1 + .github/workflows/update-manylinux-openssl-image.yml | 8 -------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/manylinux2014-openssl.Dockerfile b/.github/workflows/manylinux2014-openssl.Dockerfile index 29fecb034..01adf9f39 100644 --- a/.github/workflows/manylinux2014-openssl.Dockerfile +++ b/.github/workflows/manylinux2014-openssl.Dockerfile @@ -1,5 +1,6 @@ FROM quay.io/pypa/manylinux2014_x86_64 ARG OPENSSL_VERSION +LABEL com.aerospike.clients.openssl-version=$OPENSSL_VERSION # https://computingforgeeks.com/how-to-install-openssl-3-x-on-centos-rhel-7/ RUN yum install -y centos-release-scl devtoolset-11 perl-Text-Template.noarch perl-IPC-Cmd perl-Test-Simple wget diff --git a/.github/workflows/update-manylinux-openssl-image.yml b/.github/workflows/update-manylinux-openssl-image.yml index 62cd66d94..94189b8d6 100644 --- a/.github/workflows/update-manylinux-openssl-image.yml +++ b/.github/workflows/update-manylinux-openssl-image.yml @@ -18,13 +18,6 @@ jobs: - run: docker pull quay.io/pypa/manylinux2014_x86_64 - - name: Get digest of latest manylinux image - # Example: 1b6743f7785bd1630d5fc985c898b1ac46d64ad7a39173bbfc8ad2ba315a70cf - run: echo MANYLINUX_IMAGE_DIGEST=$(docker image inspect quay.io/pypa/manylinux2014_x86_64 --format json | jq -r ".[0].RepoDigests[0]" | sed "s/.*@sha256://") > $GITHUB_ENV - shell: bash - - - run: echo CUSTOM_IMAGE_TAG="${{ env.MANYLINUX_IMAGE_DIGEST }}-${{ env.OPENSSL_VERSION }}" >> $GITHUB_ENV - - uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} @@ -35,7 +28,6 @@ jobs: id: meta with: images: ${{ env.REGISTRY }}/aerospike/manylinux2014_x86_64 - tags: ${{ env.CUSTOM_IMAGE_TAG }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3