Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 7 additions & 5 deletions .github/workflows/openapi-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,12 @@ jobs:
mkdir schemas
sentry rpcschema --loglevel=WARNING > rpc_method_schema.json

# Runs oasdiff directly from the getsentry/image-mirror copy instead of
# oasdiff/oasdiff-action, which builds FROM tufin/oasdiff:main on Docker Hub.
- name: Output RPC schema comparison
uses: oasdiff/oasdiff-action/breaking@a2ff6682b27d175162a74c09ace8771bd3d512f8 # A few commits after v0.0.19 to get fixes
if: steps.changes.outputs.api_docs == 'true'
with:
base: sentry-api-schema/rpc_method_schema.json
revision: ./rpc_method_schema.json
fail-on: WARN
run: |
docker run --rm -v "$PWD:$PWD" -w "$PWD" \
ghcr.io/getsentry/image-mirror-tufin-oasdiff:v1.33.0 \
breaking sentry-api-schema/rpc_method_schema.json ./rpc_method_schema.json \
--fail-on WARN --format githubactions
6 changes: 6 additions & 0 deletions .github/workflows/self-hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ jobs:
# daily and manual distroless builds use the Docker actions directly.
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
with:
# Mirrored via getsentry/image-mirror to avoid Docker Hub rate limits.
driver-opts: image=ghcr.io/getsentry/image-mirror-moby-buildkit:v0.33.1

- uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
if: (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref_name == 'master'
Expand Down Expand Up @@ -137,6 +140,9 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
with:
# Mirrored via getsentry/image-mirror to avoid Docker Hub rate limits.
driver-opts: image=ghcr.io/getsentry/image-mirror-moby-buildkit:v0.33.1

- name: Create multiplatform manifests
if: github.event_name == 'push'
Expand Down
2 changes: 1 addition & 1 deletion self-hosted/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ADD --chmod=755 \
ARG TARGETARCH
FROM odiff-${TARGETARCH} AS odiff

FROM python:3.13.15-slim-trixie AS application
FROM ghcr.io/getsentry/image-mirror-library-python:3.13.15-slim-trixie AS application

LABEL maintainer="oss@sentry.io"
LABEL org.opencontainers.image.title="Sentry"
Expand Down
Loading