Skip to content

Bump docker/setup-qemu-action from 3.3.0 to 3.4.0 #287

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
415fab7
Cleanup untagged images on the GitHub Container Registry (#191)
alessfg Feb 22, 2024
65ace00
Split image cleanup job into its own workflow (#193)
alessfg Feb 23, 2024
1714a41
Add OCI annotations to Docker images (#194)
alessfg Feb 24, 2024
a9affe9
Don't run cleanup on failed workflow_run triggers
alessfg Feb 28, 2024
6526911
Bump docker/setup-buildx-action from 3.0.0 to 3.1.0 (#196)
dependabot[bot] Mar 7, 2024
8a0cafe
Bump docker/build-push-action from 5.1.0 to 5.2.0 (#197)
dependabot[bot] Mar 11, 2024
39d76c4
Bump docker/login-action from 3.0.0 to 3.1.0 (#200)
dependabot[bot] Mar 28, 2024
2ca3d81
Bump docker/build-push-action from 5.2.0 to 5.3.0 (#202)
dependabot[bot] Apr 2, 2024
4f3030f
Bump docker/setup-buildx-action from 3.1.0 to 3.2.0 (#201)
dependabot[bot] Apr 3, 2024
4f965dd
Bump actions/checkout from 4.1.1 to 4.1.2 (#203)
dependabot[bot] Apr 3, 2024
92b5b2f
Bump docker/setup-buildx-action from 3.2.0 to 3.3.0 (#205)
dependabot[bot] Apr 15, 2024
b3b9e1c
Update mainline NGINX to 1.25.5
alessfg Apr 17, 2024
dfeab68
Bump actions/checkout from 4.1.2 to 4.1.3 (#206)
dependabot[bot] Apr 23, 2024
80d437d
Bump stumpylog/image-cleaner-action from 0.5.0 to 0.6.0 (#207)
dependabot[bot] Apr 23, 2024
af3b28a
Update stable NGINX to 1.26.0
alessfg Apr 24, 2024
5a776b6
Bump actions/checkout from 4.1.3 to 4.1.4 (#208)
dependabot[bot] Apr 29, 2024
d47e080
Fix njs arm32v5 build
alessfg May 6, 2024
1a2dff7
Bump actions/checkout from 4.1.4 to 4.1.5 (#210)
dependabot[bot] May 14, 2024
996fd54
Bump actions/checkout from 4.1.5 to 4.1.6 (#212)
dependabot[bot] May 20, 2024
7ebc14d
Fix Alpine image tags
alessfg May 20, 2024
bf443c0
Update mainline NGINX to 1.27.0
alessfg Jun 2, 2024
e302dc3
Bump docker/login-action from 3.1.0 to 3.2.0 (#213)
dependabot[bot] Jun 4, 2024
5a5aae4
Bump stumpylog/image-cleaner-action from 0.6.0 to 0.7.0 (#215)
dependabot[bot] Jun 10, 2024
35bdcfa
Bump actions/checkout from 4.1.6 to 4.1.7 (#218)
dependabot[bot] Jun 17, 2024
c3359ff
Bump docker/build-push-action from 5.3.0 to 5.4.0 (#217)
dependabot[bot] Jun 17, 2024
2713a0e
Update GPG keys used to sign the NGINX packages (#220)
alessfg Jun 26, 2024
04c3e28
Bump docker/build-push-action from 5.4.0 to 6.2.0 (#221)
dependabot[bot] Jun 26, 2024
01445a1
Bump docker/build-push-action from 6.2.0 to 6.3.0 (#223)
dependabot[bot] Jul 8, 2024
a1df95b
Bump docker/setup-buildx-action from 3.3.0 to 3.4.0 (#224)
dependabot[bot] Jul 8, 2024
5c38105
Bump docker/setup-qemu-action from 3.0.0 to 3.1.0 (#225)
dependabot[bot] Jul 9, 2024
d9407a0
Bump docker/build-push-action from 6.3.0 to 6.4.1 (#226)
dependabot[bot] Jul 23, 2024
723599b
Bump docker/setup-qemu-action from 3.1.0 to 3.2.0 (#232)
dependabot[bot] Jul 29, 2024
2e17aa7
Bump docker/login-action from 3.2.0 to 3.3.0 (#231)
dependabot[bot] Jul 29, 2024
1655d37
Bump docker/setup-buildx-action from 3.4.0 to 3.5.0 (#229)
dependabot[bot] Jul 29, 2024
9560210
Bump docker/setup-buildx-action from 3.5.0 to 3.6.1 (#236)
dependabot[bot] Aug 5, 2024
af6e325
Bump stumpylog/image-cleaner-action from 0.7.0 to 0.8.0 (#235)
dependabot[bot] Aug 5, 2024
ec67ff4
Bump docker/build-push-action from 6.4.1 to 6.6.1 (#237)
dependabot[bot] Aug 12, 2024
f633d7b
Update mainline NGINX to 1.27.1 (#238)
alessfg Aug 17, 2024
f76ccc0
Bump docker/build-push-action from 6.6.1 to 6.7.0 (#239)
dependabot[bot] Aug 19, 2024
63c0059
Use packaging sources to build packages on non-mainstream architectur…
alessfg Sep 17, 2024
085232b
Move NGINX package source to GitHub (#244)
alessfg Sep 24, 2024
9d9d3b0
Add tip re how to rebuild/change the image UID/GID
alessfg Sep 24, 2024
1c14e98
Update GH Actions runner to Ubuntu 24.04 (#245)
alessfg Sep 25, 2024
6a0946e
Bump actions/checkout from 4.1.7 to 4.2.0 (#247)
dependabot[bot] Oct 1, 2024
7eba53a
Bump docker/build-push-action from 6.7.0 to 6.8.0 (#246)
dependabot[bot] Oct 1, 2024
a4a8917
docs: Fix broken links in CONTRIBUTING.md (#248)
jsattler Oct 1, 2024
e6a1255
feat: Update mainline NGINX to 1.27.2 (#250)
alessfg Oct 4, 2024
31c40af
Bump docker/setup-buildx-action from 3.6.1 to 3.7.1 (#251)
dependabot[bot] Oct 7, 2024
d9fe8c8
Bump docker/build-push-action from 6.8.0 to 6.9.0 (#252)
dependabot[bot] Oct 7, 2024
338d5c7
Bump actions/checkout from 4.2.0 to 4.2.1 (#253)
dependabot[bot] Oct 14, 2024
54d8358
Bump actions/checkout from 4.2.1 to 4.2.2 (#256)
dependabot[bot] Oct 28, 2024
69dec3f
Bump stumpylog/image-cleaner-action from 0.8.0 to 0.9.0 (#255)
dependabot[bot] Oct 28, 2024
7e515bf
feat: Update mainline NGINX to 1.27.3 (#260)
alessfg Nov 27, 2024
899909e
Bump docker/metadata-action from 5.5.1 to 5.6.1 (#258)
dependabot[bot] Nov 27, 2024
a756e1a
Bump docker/build-push-action from 6.9.0 to 6.10.0 (#264)
dependabot[bot] Jan 9, 2025
7095a65
Bump docker/setup-buildx-action from 3.7.1 to 3.8.0 (#266)
dependabot[bot] Jan 9, 2025
17ba3ab
Add `riscv64` support on Alpine Linux (#268)
alessfg Jan 13, 2025
e89cb03
Bump docker/setup-qemu-action from 3.2.0 to 3.3.0 (#270)
dependabot[bot] Jan 13, 2025
0cecd4e
Bump docker/build-push-action from 6.10.0 to 6.11.0 (#269)
dependabot[bot] Jan 13, 2025
e9a8dc4
Bump docker/setup-qemu-action from 3.3.0 to 3.4.0
dependabot[bot] Feb 10, 2025
2cc5e1e
feat: Update mainline NGINX to 1.27.4 (#283)
alessfg Feb 13, 2025
65d4bac
Bump aws-actions/configure-aws-credentials from 4.0.2 to 4.1.0 (#285)
dependabot[bot] Feb 19, 2025
5e0c7c5
Bump stumpylog/image-cleaner-action from 0.9.0 to 0.10.0 (#284)
dependabot[bot] Feb 19, 2025
37ecde6
Bump docker/build-push-action from 6.11.0 to 6.13.0 (#274)
dependabot[bot] Feb 20, 2025
b98b2e0
Bump docker/setup-qemu-action from 3.3.0 to 3.4.0 (#280)
dependabot[bot] Feb 20, 2025
f94d0d6
Bump docker/setup-buildx-action from 3.8.0 to 3.9.0 (#279)
dependabot[bot] Feb 20, 2025
41c35be
Merge branch 'main' into dependabot/github_actions/docker/setup-qemu-…
Shadyboyty Feb 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 57 additions & 70 deletions .github/workflows/alpine-mainline.yml

Large diffs are not rendered by default.

127 changes: 57 additions & 70 deletions .github/workflows/alpine-stable.yml

Large diffs are not rendered by default.

96 changes: 41 additions & 55 deletions .github/workflows/debian-mainline.yml
Original file line number Diff line number Diff line change
@@ -8,15 +8,15 @@ on:
jobs:
version:
name: Fetch NGINX mainline version
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
major: ${{ steps.nginx_version.outputs.major }}
minor: ${{ steps.nginx_version.outputs.minor }}
patch: ${{ steps.nginx_version.outputs.patch }}
distro: ${{ steps.distro_version.outputs.release }}
steps:
- name: Check out the codebase
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Parse NGINX mainline version
id: nginx_version
@@ -28,64 +28,64 @@ jobs:
- name: Parse Debian version
id: distro_version
run: |
echo "release=$(cat update.sh | grep -m4 '\[mainline\]=' | tail -n1 | cut -d"'" -f2)" >> "$GITHUB_OUTPUT"
echo "release=$(cat update.sh | grep -m6 '\[mainline\]=' | tail -n1 | cut -d"'" -f2)" >> "$GITHUB_OUTPUT"

core:
name: Build Debian NGINX mainline Docker image
runs-on: ubuntu-22.04
needs: version
runs-on: ubuntu-24.04
strategy:
fail-fast: false
needs: version
steps:
- name: Check out the codebase
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Set up QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
uses: docker/setup-qemu-action@4574d27a4764455b42196d70a065bc6853246a25 # v3.4.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
uses: docker/setup-buildx-action@f7ce87c1d6bead3e36075b2ce75da1f6cc28aaca # v3.9.0

- name: Configure AWS credentials
if: ${{ github.event_name != 'pull_request' }}
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0
with:
aws-region: ${{ secrets.AWS_REGION }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- name: Login to Amazon ECR Public Gallery
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: public.ecr.aws

- name: Login to Docker Hub
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to Quay
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: quay.io
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
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1
with:
images: |
docker.io/nginxinc/nginx-unprivileged
@@ -103,15 +103,19 @@ 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
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
with:
platforms: linux/amd64, linux/arm/v5, linux/arm/v7, linux/arm64, linux/386, linux/mips64le, linux/ppc64le, linux/s390x
platforms: linux/amd64, linux/arm/v7, linux/arm64, linux/386, linux/mips64le, linux/ppc64le, linux/s390x
# 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,60 +151,60 @@ jobs:

perl:
name: Build Debian NGINX mainline perl Docker image
runs-on: ubuntu-22.04
needs: [version, core]
runs-on: ubuntu-24.04
strategy:
fail-fast: false
needs: [version, core]
steps:
- name: Check out the codebase
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Set up QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
uses: docker/setup-qemu-action@4574d27a4764455b42196d70a065bc6853246a25 # v3.4.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
uses: docker/setup-buildx-action@f7ce87c1d6bead3e36075b2ce75da1f6cc28aaca # v3.9.0

- name: Configure AWS credentials
if: ${{ github.event_name != 'pull_request' }}
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0
with:
aws-region: ${{ secrets.AWS_REGION }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- name: Login to Amazon ECR Public Gallery
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: public.ecr.aws

- name: Login to Docker Hub
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to Quay
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: quay.io
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
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1
with:
images: |
docker.io/nginxinc/nginx-unprivileged
@@ -218,15 +222,19 @@ 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
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
with:
platforms: linux/amd64, linux/arm/v5, linux/arm/v7, linux/arm64, linux/386, linux/mips64le, linux/ppc64le, linux/s390x
platforms: linux/amd64, linux/arm/v7, linux/arm64, linux/386, linux/mips64le, linux/ppc64le, linux/s390x
# 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
@@ -259,25 +267,3 @@ jobs:
DOCKER_CONTENT_TRUST_REPOSITORY_KEY_ID: ${{ secrets.DOCKER_CONTENT_TRUST_REPOSITORY_KEY_ID }}
DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE: ${{ secrets.DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE }}
NOTARY_TARGETS_PASSPHRASE: ${{ secrets.DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE }}

cleanup:
name: Delete untagged Debian NGINX mainline Docker images on the Amazon ECR Public Gallery
if: ${{ github.event_name != 'pull_request' }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
needs: [core, perl]
steps:
- name: Check out the codebase
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
aws-region: ${{ secrets.AWS_REGION }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- name: Delete untagged Debian NGINX mainline Docker images on the Amazon ECR Public Gallery
run: |
.github/workflows/scripts/delete-untagged-amazon-public-ecr-images.sh
Loading