File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 # GitHub-hosted runners are ephemeral, so we can skip the Ryuk sidecar
5454 # and avoid Docker Hub rate limits on testcontainers/ryuk pulls.
5555 TESTCONTAINERS_RYUK_DISABLED : true
56- VITE_TEMPO_TAG : sha-20aecec
56+ VITE_TEMPO_TAG : latest
5757 steps :
5858 - name : Clone repository
5959 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -70,12 +70,19 @@ jobs:
7070 - name : Install dependencies
7171 uses : ./.github/actions/install-dependencies
7272
73+ - name : Resolve Tempo image digest
74+ id : tempo-digest
75+ run : |
76+ digest=$(docker manifest inspect ghcr.io/tempoxyz/tempo:${VITE_TEMPO_TAG} -q 2>/dev/null \
77+ || docker manifest inspect ghcr.io/tempoxyz/tempo:${VITE_TEMPO_TAG} --format '{{.Digest}}')
78+ echo "digest=${digest}" >> "$GITHUB_OUTPUT"
79+
7380 - name : Cache Tempo Docker image
7481 uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
7582 id : docker-cache
7683 with :
7784 path : /tmp/tempo-image.tar
78- key : tempo-image-${{ env.VITE_TEMPO_TAG }}
85+ key : tempo-image-${{ steps.tempo-digest.outputs.digest }}
7986
8087 - name : Load cached Tempo image
8188 if : steps.docker-cache.outputs.cache-hit == 'true'
You can’t perform that action at this time.
0 commit comments