diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ee83049..bf0f53e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -41,6 +41,7 @@ jobs: - uses: docker/setup-buildx-action@v2 - name: Set environment variables run: | + grep -v '^#' .requirements >> $GITHUB_ENV echo "ARCHITECTURE=${{ matrix.architecture }}" >> $GITHUB_ENV echo "OSTYPE=${{ matrix.ostype }}" >> $GITHUB_ENV echo "REGISTRY=ghcr.io" diff --git a/README.md b/README.md index 773c6f6..585c87c 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,9 @@ tar -C /tmp/build -xvf openssl.tar.gz The gcr.io docker tag naming setup is: ``` +ghcr.io/kong/kong-openssl:${GITHUB_RELEASE}-${OSTYPE} +# Example gcr.io/kong/kong-openssl:1.1.4-linux-musl which is a multi-architecture image + ghcr.io/kong/kong-openssl:${GITHUB_RELEASE}-${ARCHITECTURE}-${OSTYPE} # Example gcr.io/kong/kong-openssl:1.1.0-aarch64-linux-musl