-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: publish AsyncAPI Studio Docker image with additional version tag
- Loading branch information
1 parent
40f287a
commit e9ab74d
Showing
2 changed files
with
14 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@asyncapi/studio": minor | ||
--- | ||
|
||
Publish AsyncAPI Studio Docker image with additional version tag |
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 |
---|---|---|
|
@@ -17,10 +17,18 @@ jobs: | |
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Get current Studio version | ||
id: get-studio-version | ||
uses: martinbeentjes/[email protected] | ||
with: | ||
path: apps/studio | ||
|
||
- name: Build and push Docker image | ||
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 | ||
with: | ||
context: . | ||
file: ./apps/studio/Dockerfile | ||
push: true | ||
tags: asyncapi/studio:latest | ||
tags: | | ||
asyncapi/studio:latest | ||
asyncapi/studio:${{ steps.get-studio-version.outputs.current-version}} |