-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update actions/cache and docker/login-action to latest version…
…s in ci.yml
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,7 +77,7 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] # cache maven packages step - caching maven packages to speed up the build process. Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows | ||
- name: Cache Maven packages | ||
uses: actions/cache@v3 # defining cache key and restore keys for the cache step. Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key | ||
uses: actions/cache@v4.1.2 # defining cache key and restore keys for the cache step. Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key | ||
with: | ||
path: ~/.m2/repository # path to the directory where maven packages are stored - /root/.m2 in the container | ||
key: ${{ runner.os }}-build-${{ hashFiles('**/pom.xml') }} | ||
|
@@ -160,7 +160,7 @@ jobs: | |
# caching the maven packages to speed up the build process. | ||
# Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows | ||
- name: Cache Maven packages | ||
uses: actions/cache@v3 # using the actions/cache@v3 action to cache the maven packages | ||
uses: actions/cache@v4.1.2 # defining the cache key and restore keys for the cache step. Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key | ||
with: | ||
path: /root/.m2 # path to cache | ||
key: ${{ runner.os }}-junit-${{ hashFiles('**/pom.xml') }} # key for restoring and saving the cache | ||
|
@@ -285,7 +285,7 @@ jobs: | |
# build the docker image using the Dockerfile in the root of the repository | ||
# and tag it with the current run number from the github action workflow run | ||
- name: Log in to the GH Container Registry | ||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 # using the docker login action from the github marketplace - github.com/marketplace/actions/docker-login | ||
uses: docker/login-action@v3.3.0 # using the docker login action from the github marketplace - github.com/marketplace/actions/docker-login | ||
with: | ||
registry: ${{ env.REGISTRY }} # using the registry environment variable | ||
username: ${{ github.actor }} # using the github.actor context | ||
|