Skip to content

Commit

Permalink
Update GHA dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Vitale <[email protected]>
  • Loading branch information
ThomasVitale committed May 5, 2024
1 parent bcd1c9d commit 70acef7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/commit-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: liberica
java-version: 21
distribution: liberica
cache: gradle
- name: Build, unit tests and integration tests
run: |
Expand All @@ -39,23 +39,23 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: liberica
java-version: 21
distribution: liberica
cache: gradle
- name: Build container image
run: |
cd 06-knative/basic/book-service
chmod +x gradlew
./gradlew bootBuildImage \
--imageName ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
- name: Log into container registry
- name: Authenticate with the container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.MY_SECRET }}
password: ${{ secrets.IMAGE_PUSH_TOKEN }}
- name: Publish container image
run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}

0 comments on commit 70acef7

Please sign in to comment.