forked from misskey-dev/misskey
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
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,35 @@ | ||
name: On Release Created (Publish misskey-js) | ||
|
||
on: | ||
release: | ||
types: [created] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
platform: | ||
- linux/amd64 | ||
- linux/arm64 | ||
if: github.repository == 'team-shahu/misskey' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Build Docker Image | ||
run: | | ||
docker build --tag ghcr.io/${{ github.repository_owner }}/misskey:latest \ | ||
--tag ghcr.io/${{ github.repository_owner }}/misskey:${{ env.RELEASE_TAG }} \ | ||
. | ||
- name: Push Docker Image | ||
run: | | ||
docker push ghcr.io/${{ github.repository_owner }}/misskey:latest | ||
docker push ghcr.io/${{ github.repository_owner }}/misskey:${{ env.RELEASE_TAG }} |
61677cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chromatic detects changes. Please review the changes on Chromatic.