Skip to content

Commit

Permalink
update CI actions version
Browse files Browse the repository at this point in the history
  • Loading branch information
Topin2001 committed May 2, 2024
1 parent ae99bba commit e2bf909
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
name: Build the docker image
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build docker image
run: docker build -t $DOCKER_IMAGE_NAME $DOCKERFILE_PATH
- name: Save Docker image
run: docker image save -o image.tar $DOCKER_IMAGE_NAME
- name: Upload image as an artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: image
path: image.tar
Expand All @@ -49,15 +49,15 @@ jobs:
runs-on: ubuntu-22.04
needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Retrieve the image
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: image
- name: Load the image
run: docker image load -i image.tar
- name: Cache sonar-scanner data
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: .sonarcache
key: sonar-scanner-cache
Expand Down

0 comments on commit e2bf909

Please sign in to comment.