Skip to content

Commit

Permalink
And finally, do the same for the release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverhaagh committed Feb 15, 2024
1 parent 802dd25 commit 1341140
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,32 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'
- name: Build with Maven
run: mvn -U -B -Dspring.profiles.active=test clean install && cp target/mcp-identityregistry-core-latest.jar docker/
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/maritimeconnectivity/identityregistry
tags: |
type=semver,pattern={{version}}
- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: docker
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit 1341140

Please sign in to comment.