diff --git a/.github/workflows/alpine-mainline.yml b/.github/workflows/alpine-mainline.yml index 1ab4fd1..84c16f2 100644 --- a/.github/workflows/alpine-mainline.yml +++ b/.github/workflows/alpine-mainline.yml @@ -85,7 +85,7 @@ jobs: # username: ${{ secrets.QUAY_USERNAME }} # password: ${{ secrets.QUAY_TOKEN }} - - name: Extract metadata (tags, labels) for Docker + - name: Extract metadata (annotations, labels, tags) for Docker id: meta uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1 # with: @@ -152,7 +152,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Extract metadata (tags, labels) for Docker + - name: Extract metadata (annotations, labels, tags) for Docker id: meta uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1 with: diff --git a/.github/workflows/alpine-stable.yml b/.github/workflows/alpine-stable.yml index 53b32b7..40c3ee8 100644 --- a/.github/workflows/alpine-stable.yml +++ b/.github/workflows/alpine-stable.yml @@ -32,10 +32,10 @@ jobs: slim: name: Build Alpine NGINX stable slim Docker image + needs: version runs-on: ubuntu-22.04 strategy: fail-fast: false - needs: version steps: - name: Check out the codebase uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -83,7 +83,7 @@ jobs: username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_TOKEN }} - - name: Extract metadata (tags, labels) for Docker + - name: Extract metadata (annotations, labels, tags) for Docker id: meta uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1 with: @@ -99,6 +99,8 @@ jobs: type=raw,value=${{ needs.version.outputs.major }}.${{ needs.version.outputs.minor }}-alpine${{ needs.version.outputs.distro }}-slim type=raw,value=stable-alpine-slim type=raw,value=stable-alpine${{ needs.version.outputs.distro }}-slim + env: + DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index - name: Build and push NGINX stable slim Alpine image to Amazon ECR Public Gallery, Docker Hub, GitHub Container Registry, and Quay id: build @@ -106,8 +108,9 @@ jobs: with: platforms: linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64, linux/386, linux/ppc64le, linux/s390x context: "{{ defaultContext }}:stable/alpine-slim" - tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + annotations: ${{ steps.meta.outputs.annotations }} + tags: ${{ steps.meta.outputs.tags }} push: ${{ github.event_name != 'pull_request' }} # cache-from: type=gha,scope=stable-alpine-slim # cache-to: type=gha,mode=min,scope=stable-alpine-slim @@ -139,10 +142,10 @@ jobs: core: name: Build Alpine NGINX stable Docker image + needs: [version, slim] runs-on: ubuntu-22.04 strategy: fail-fast: false - needs: [version, slim] steps: - name: Check out the codebase uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -190,7 +193,7 @@ jobs: username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_TOKEN }} - - name: Extract metadata (tags, labels) for Docker + - name: Extract metadata (annotations, labels, tags) for Docker id: meta uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1 with: @@ -206,6 +209,8 @@ jobs: type=raw,value=${{ needs.version.outputs.major }}.${{ needs.version.outputs.minor }}-alpine${{ needs.version.outputs.distro }} type=raw,value=stable-alpine type=raw,value=stable-alpine${{ needs.version.outputs.distro }} + env: + DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index - name: Build and push NGINX stable Alpine image to Amazon ECR Public Gallery, Docker Hub, GitHub Container Registry, and Quay id: build @@ -213,8 +218,9 @@ jobs: with: platforms: linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64, linux/386, linux/ppc64le, linux/s390x context: "{{ defaultContext }}:stable/alpine" - tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + annotations: ${{ steps.meta.outputs.annotations }} + tags: ${{ steps.meta.outputs.tags }} push: ${{ github.event_name != 'pull_request' }} # cache-from: type=gha,scope=stable-alpine # cache-to: type=gha,mode=min,scope=stable-alpine @@ -246,10 +252,10 @@ jobs: perl: name: Build Alpine NGINX stable perl Docker image + needs: [version, core] runs-on: ubuntu-22.04 strategy: fail-fast: false - needs: [version, core] steps: - name: Check out the codebase uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -297,7 +303,7 @@ jobs: username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_TOKEN }} - - name: Extract metadata (tags, labels) for Docker + - name: Extract metadata (annotations, labels, tags) for Docker id: meta uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1 with: @@ -313,6 +319,8 @@ jobs: type=raw,value=${{ needs.version.outputs.major }}.${{ needs.version.outputs.minor }}-alpine${{ needs.version.outputs.distro }}-perl type=raw,value=stable-alpine-perl type=raw,value=stable-alpine${{ needs.version.outputs.distro }}-perl + env: + DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index - name: Build and push NGINX stable perl Alpine image to Amazon ECR Public Gallery, Docker Hub, GitHub Container Registry, and Quay id: build @@ -320,8 +328,9 @@ jobs: with: platforms: linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64, linux/386, linux/ppc64le, linux/s390x context: "{{ defaultContext }}:stable/alpine-perl" - tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + annotations: ${{ steps.meta.outputs.annotations }} + tags: ${{ steps.meta.outputs.tags }} push: ${{ github.event_name != 'pull_request' }} # cache-from: type=gha,scope=stable-alpine-perl # cache-to: type=gha,mode=min,scope=stable-alpine-perl diff --git a/.github/workflows/debian-mainline.yml b/.github/workflows/debian-mainline.yml index f0509ea..1100db8 100644 --- a/.github/workflows/debian-mainline.yml +++ b/.github/workflows/debian-mainline.yml @@ -32,10 +32,10 @@ jobs: core: name: Build Debian NGINX mainline Docker image + needs: version runs-on: ubuntu-22.04 strategy: fail-fast: false - needs: version steps: - name: Check out the codebase uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -83,7 +83,7 @@ jobs: username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_TOKEN }} - - name: Extract metadata (tags, labels) for Docker + - name: Extract metadata (annotations, labels, tags) for Docker id: meta uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1 with: @@ -103,6 +103,8 @@ jobs: type=raw,value=mainline-${{ needs.version.outputs.distro }} type=raw,value=latest type=raw,value=${{ needs.version.outputs.distro }} + env: + DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index - name: Build and push NGINX mainline Debian image to Amazon ECR Public Gallery, Docker Hub, GitHub Container Registry, and Quay id: build @@ -110,8 +112,9 @@ jobs: with: platforms: linux/amd64, linux/arm/v5, linux/arm/v7, linux/arm64, linux/386, linux/mips64le, linux/ppc64le, linux/s390x context: "{{ defaultContext }}:mainline/debian" - tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + annotations: ${{ steps.meta.outputs.annotations }} + tags: ${{ steps.meta.outputs.tags }} push: ${{ github.event_name != 'pull_request' }} # cache-from: type=gha,scope=debian-perl # cache-to: type=gha,mode=min,scope=debian-perl @@ -147,10 +150,10 @@ jobs: perl: name: Build Debian NGINX mainline perl Docker image + needs: [version, core] runs-on: ubuntu-22.04 strategy: fail-fast: false - needs: [version, core] steps: - name: Check out the codebase uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -198,7 +201,7 @@ jobs: username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_TOKEN }} - - name: Extract metadata (tags, labels) for Docker + - name: Extract metadata (annotations, labels, tags) for Docker id: meta uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1 with: @@ -218,6 +221,8 @@ jobs: type=raw,value=mainline-${{ needs.version.outputs.distro }}-perl type=raw,value=perl type=raw,value=${{ needs.version.outputs.distro }}-perl + env: + DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index - name: Build and push NGINX mainline perl Debian image to Amazon ECR Public Gallery, Docker Hub, GitHub Container Registry, and Quay id: build @@ -225,8 +230,9 @@ jobs: with: platforms: linux/amd64, linux/arm/v5, linux/arm/v7, linux/arm64, linux/386, linux/mips64le, linux/ppc64le, linux/s390x context: "{{ defaultContext }}:mainline/debian-perl" - tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + annotations: ${{ steps.meta.outputs.annotations }} + tags: ${{ steps.meta.outputs.tags }} push: ${{ github.event_name != 'pull_request' }} # cache-from: type=gha,scope=debian-perl # cache-to: type=gha,mode=min,scope=debian-perl diff --git a/.github/workflows/debian-stable.yml b/.github/workflows/debian-stable.yml index d8f55fd..adf1d26 100644 --- a/.github/workflows/debian-stable.yml +++ b/.github/workflows/debian-stable.yml @@ -32,10 +32,10 @@ jobs: core: name: Build Debian NGINX stable Docker image + needs: version runs-on: ubuntu-22.04 strategy: fail-fast: false - needs: version steps: - name: Check out the codebase uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -83,7 +83,7 @@ jobs: username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_TOKEN }} - - name: Extract metadata (tags, labels) for Docker + - name: Extract metadata (annotations, labels, tags) for Docker id: meta uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1 with: @@ -99,6 +99,8 @@ jobs: type=raw,value=${{ needs.version.outputs.major }}.${{ needs.version.outputs.minor }}-${{ needs.version.outputs.distro }} type=raw,value=stable type=raw,value=stable-${{ needs.version.outputs.distro }} + env: + DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index - name: Build and push NGINX stable Debian image to Amazon ECR Public Gallery, Docker Hub, GitHub Container Registry, and Quay id: build @@ -106,8 +108,9 @@ jobs: with: platforms: linux/amd64, linux/arm/v5, linux/arm/v7, linux/arm64, linux/386, linux/mips64le, linux/ppc64le, linux/s390x context: "{{ defaultContext }}:stable/debian" - tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + annotations: ${{ steps.meta.outputs.annotations }} + tags: ${{ steps.meta.outputs.tags }} push: ${{ github.event_name != 'pull_request' }} # cache-from: type=gha,scope=stable-debian # cache-to: type=gha,mode=min,scope=stable-debian @@ -139,10 +142,10 @@ jobs: perl: name: Build Debian NGINX stable perl Docker image + needs: [version, core] runs-on: ubuntu-22.04 strategy: fail-fast: false - needs: [version, core] steps: - name: Check out the codebase uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -190,7 +193,7 @@ jobs: username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_TOKEN }} - - name: Extract metadata (tags, labels) for Docker + - name: Extract metadata (annotations, labels, tags) for Docker id: meta uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1 with: @@ -206,6 +209,8 @@ jobs: type=raw,value=${{ needs.version.outputs.major }}.${{ needs.version.outputs.minor }}-${{ needs.version.outputs.distro }}-perl type=raw,value=stable-perl type=raw,value=stable-${{ needs.version.outputs.distro }}-perl + env: + DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index - name: Build and push NGINX stable perl Debian image to Amazon ECR Public Gallery, Docker Hub, GitHub Container Registry, and Quay id: build @@ -213,8 +218,9 @@ jobs: with: platforms: linux/amd64, linux/arm/v5, linux/arm/v7, linux/arm64, linux/386, linux/mips64le, linux/ppc64le, linux/s390x context: "{{ defaultContext }}:stable/debian-perl" - tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + annotations: ${{ steps.meta.outputs.annotations }} + tags: ${{ steps.meta.outputs.tags }} push: ${{ github.event_name != 'pull_request' }} # cache-from: type=gha,scope=stable-debian-perl # cache-to: type=gha,mode=min,scope=stable-debian-perl