Skip to content

Commit d17a5c1

Browse files
committed
ci improvements - fixing buildx with cache
1 parent 4b451c0 commit d17a5c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ jobs:
228228
context: . # using the current directory as the context
229229
push: true # push the docker image to the registry
230230
tags: ghcr.io/${{ github.repository }}:${{ github.run_number }} # tag the docker image with the current run number from the github action workflow run
231-
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}:${{ github.run_number }}
231+
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}:$((${{ github.run_number }}-1))
232232
cache-to: type=inline
233233

234234
runner-indexes: # job to generate the runner indexes for the uat-parallel-tests job

0 commit comments

Comments
 (0)