Skip to content

Commit

Permalink
Set openssl version as image label
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Nov 8, 2024
1 parent e9cfdf5 commit d522627
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/manylinux2014-openssl.Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/update-manylinux-openssl-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit d522627

Please sign in to comment.