Skip to content

Commit 39c3537

Browse files
gocamillerenovate[bot]jonathanrainer
authored
Chore/complete dependency updates (#71)
* chore(deps): update github actions digests * Bump versions * chore(deps): update dependency apollographql/router to v2.10.0 * chore(deps): update almalinux:10-minimal docker digest to 4f02be9 * chore(deps): update otel/opentelemetry-collector-contrib docker digest to f051aff * chore(deps): update dependency apollographql/apollo-mcp-server to v1.6.0 * fix(docker): downgrade to almalinux:9-minimal to fix arm64 build * fix(docker): use almalinux:10 with legacy tar for arm64 compat * fix(docker): install tar in source stage * fix(docker): use bsdtar via libarchive for arm64 compat * fix(docker): dynamically locate bsdtar * fix(docker): install bsdtar package explicitely * (build): replace bsdtar with setup-qemu-action for multi-arch builds * (build): update setup-qemu-action step with latest build for multi-arch builds * (build): replace setup-qemu-action using patched image * (build): revert to bsdtar for stability --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: jonathanrainer <jonathan.rainer@apollographql.com>
1 parent ddefe66 commit 39c3537

File tree

2 files changed

+29
-28
lines changed

2 files changed

+29
-28
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ concurrency:
66

77
on:
88
push:
9-
branches: [ 'main' ]
9+
branches: ['main']
1010
pull_request:
1111
env:
1212
REGISTRY: ghcr.io
@@ -25,7 +25,7 @@ jobs:
2525
id-token: write
2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@c2d88d3ecc89a9ef08eebf45d9637801dcee7eb5
28+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
2929
- name: Add Tool To Parse Dockerfiles
3030
uses: taiki-e/install-action@parse-dockerfile
3131
- name: Get Versions From Dockerfile
@@ -84,22 +84,24 @@ jobs:
8484
org.opencontainers.image.description=${{ steps.remove-quotes.outputs.description }}
8585
org.opencontainers.image.title=${{ steps.remove-quotes.outputs.title }}
8686
- name: Log in to the Container Registry
87-
uses: docker/login-action@28fdb31ff34708d19615a74d67103ddc2ea9725c
87+
uses: docker/login-action@6862ffc5ab2cdb4405cf318a62a6f4c066e2298b
8888
with:
8989
registry: ${{ env.REGISTRY }}
9090
username: ${{ github.actor }}
9191
password: ${{ secrets.GITHUB_TOKEN }}
9292
- name: Set up Docker
93-
uses: docker/setup-docker-action@f2e530b12f4bab4483f63f0eebbde26dab3fdc5d
93+
uses: docker/setup-docker-action@e43656e248c0bd0647d3f5c195d116aacf6fcaf4
9494
with:
9595
daemon-config: |
9696
{
9797
"features": {
9898
"containerd-snapshotter": true
9999
}
100100
}
101+
- name: Set up QEMU
102+
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130
101103
- name: Set up Docker Buildx
102-
uses: docker/setup-buildx-action@1583c0f09d26c58c59d25b0eef29792b7ce99d9a
104+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
103105
- name: Build and Load Docker Image For Testing
104106
id: build-for-testing
105107
uses: docker/build-push-action@9e436ba9f2d7bcd1d038c8e55d039d37896ddc5d
@@ -139,16 +141,16 @@ jobs:
139141
--timeout "0h9m0s" \
140142
--sensitive-data
141143
- name: Log in to the GitHub Container Registry
142-
uses: docker/login-action@28fdb31ff34708d19615a74d67103ddc2ea9725c
144+
uses: docker/login-action@6862ffc5ab2cdb4405cf318a62a6f4c066e2298b
143145
with:
144146
registry: ${{ env.REGISTRY }}
145147
username: ${{ github.actor }}
146148
password: ${{ secrets.GITHUB_TOKEN }}
147149
- name: Authenticate With GCP
148150
id: auth
149-
uses: 'google-github-actions/auth@fc2174804b84f912b1f6d334e9463f484f1c552d'
151+
uses: "google-github-actions/auth@fc2174804b84f912b1f6d334e9463f484f1c552d"
150152
with:
151-
token_format: 'access_token'
153+
token_format: "access_token"
152154
project_id: "platform-mgmt-service-e0izz"
153155
service_account: "runtime-container-ci@platform-mgmt-service-e0izz.iam.gserviceaccount.com"
154156
workload_identity_provider: "projects/865738624352/locations/global/workloadIdentityPools/github-d8bck/providers/github-d8bck"
@@ -159,10 +161,10 @@ jobs:
159161
secrets: |-
160162
token:platform-prod-service-q8dyj/docker_hub_push_token
161163
- name: Docker Auth
162-
uses: docker/login-action@28fdb31ff34708d19615a74d67103ddc2ea9725c
164+
uses: docker/login-action@6862ffc5ab2cdb4405cf318a62a6f4c066e2298b
163165
with:
164-
username: 'apollograph'
165-
password: '${{ steps.gsm.outputs.token }}'
166+
username: "apollograph"
167+
password: "${{ steps.gsm.outputs.token }}"
166168
- name: Build and Push Docker image
167169
id: push
168170
uses: docker/build-push-action@9e436ba9f2d7bcd1d038c8e55d039d37896ddc5d
@@ -187,4 +189,3 @@ jobs:
187189
tag_name: ${{ steps.check-image.outputs.tag }}
188190
release_name: Apollo Runtime Container - v${{ steps.calculate-version.outputs.correct_version }} (Router - v${{ fromJSON(steps.get-versions.outputs.versions).APOLLO_ROUTER_VERSION }}, MCP Server - v${{ fromJSON(steps.get-versions.outputs.versions).APOLLO_MCP_SERVER_VERSION }})
189191
body: Find the latest release at ${{ env.NAMESPACED_REGISTRY }}:${{ steps.check-image.outputs.tag }} or ${{ env.NAMESPACED_DOCKERHUB_REGISTRY }}:${{ steps.check-image.outputs.tag }}.
190-

Dockerfile

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
FROM otel/opentelemetry-collector-contrib@sha256:886722fe0f37af9d1fe24d29529253ec59fbf263b3b1df4facaf221373e19d23 AS otel
2-
FROM almalinux:10-minimal@sha256:451d0aa4124932abd439c9dc62792ab4c388f1dc12ba219fbf761abb04afc338 AS final
1+
FROM otel/opentelemetry-collector-contrib@sha256:f051aff195ad50ed5ad9d95bcdd51d7258200c937def3797cf830366ed62e034 AS otel
2+
FROM almalinux:10-minimal@sha256:4f02be934419e0cc0b89f95be6463be8a7736eb75017f99ab66c9b0c59680cc6 AS final
33

44
# renovate: datasource=github-releases depName=just-containers/s6-overlay
55
ARG S6_OVERLAY_VERSION=3.2.1.0
66
# renovate: datasource=github-releases depName=apollographql/router
7-
ARG APOLLO_ROUTER_VERSION=2.9.0
7+
ARG APOLLO_ROUTER_VERSION=2.10.0
88
# renovate: datasource=github-releases depName=apollographql/apollo-mcp-server
9-
ARG APOLLO_MCP_SERVER_VERSION=1.3.0
9+
ARG APOLLO_MCP_SERVER_VERSION=1.6.0
1010

11-
LABEL org.opencontainers.image.version=0.0.30
11+
LABEL org.opencontainers.image.version=0.0.31
1212
LABEL org.opencontainers.image.vendor="Apollo GraphQL"
1313
LABEL org.opencontainers.image.title="Apollo Runtime"
1414
LABEL org.opencontainers.image.description="A GraphQL Runtime for serving Supergraphs and enabling AI"
@@ -20,7 +20,7 @@ USER root
2020
WORKDIR /opt
2121

2222
# Install dependencies to aid build
23-
RUN microdnf install -y tar xz wget which gzip
23+
RUN microdnf install -y tar xz wget which gzip bsdtar && ln -sf /usr/bin/bsdtar /usr/bin/tar
2424

2525
# Add all the s6 init supervise stuff.
2626
# Firstly download the no-arch bits
@@ -29,16 +29,16 @@ RUN tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz
2929

3030
# Calculate which architecture dependent parts we require
3131
RUN case $TARGETARCH in \
32-
amd64) \
33-
wget https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-x86_64.tar.xz -O /tmp/s6.tar.xz \
34-
;; \
35-
arm64) \
36-
wget https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-aarch64.tar.xz -O /tmp/s6.tar.xz \
37-
;; \
38-
*) \
39-
echo "TARGETARCH $TARGETARCH not recognised, exiting..." \
40-
exit 1 \
41-
;; \
32+
amd64) \
33+
wget https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-x86_64.tar.xz -O /tmp/s6.tar.xz \
34+
;; \
35+
arm64) \
36+
wget https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-aarch64.tar.xz -O /tmp/s6.tar.xz \
37+
;; \
38+
*) \
39+
echo "TARGETARCH $TARGETARCH not recognised, exiting..." \
40+
exit 1 \
41+
;; \
4242
esac
4343

4444
# Extract the architecture dependent parts

0 commit comments

Comments
 (0)