Skip to content

Commit

Permalink
ci: publish AsyncAPI Studio Docker image with additional version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
fgreinacher committed Oct 23, 2024
1 parent 40f287a commit e9ab74d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/brown-kangaroos-deliver.md
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
10 changes: 9 additions & 1 deletion .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}

0 comments on commit e9ab74d

Please sign in to comment.