Skip to content

Commit 21e9b65

Browse files
committed
ci improvements
1 parent 28bcab8 commit 21e9b65

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,6 @@ jobs:
214214
name: jar-artifact
215215
path: target/
216216

217-
# caching the docker layers to speed up the build process.
218-
- name: Docker Layer Caching # using the docker layer caching action from the github marketplace - https://github.com/marketplace/actions/docker-layer-caching
219-
uses: satackey/[email protected]
220-
221217
# build the docker image using the Dockerfile in the root of the repository
222218
# and tag it with the current run number from the github action workflow run
223219
- name: Log in to the GH Container Registry
@@ -232,7 +228,9 @@ jobs:
232228
context: . # using the current directory as the context
233229
push: true # push the docker image to the registry
234230
tags: ghcr.io/${{ github.repository }}:${{ github.run_number }} # tag the docker image with the current run number from the github action workflow run
235-
231+
cache-from: type=gha
232+
cache-to: type=gha,mode=max
233+
236234
runner-indexes: # job to generate the runner indexes for the uat-parallel-tests job
237235
runs-on: ubuntu-latest
238236
name: Generate runner indexes

0 commit comments

Comments
 (0)