chore(action): change to .art (#3)
This commit is contained in:
parent
306f6464e5
commit
227d2549d5
10 changed files with 39 additions and 36 deletions
4
.github/workflows/check_copyright_year.yml
vendored
4
.github/workflows/check_copyright_year.yml
vendored
|
|
@ -3,8 +3,8 @@ name: Check copyright year
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
- art/main
|
||||
- art/dev
|
||||
|
||||
jobs:
|
||||
check_copyright_year:
|
||||
|
|
|
|||
18
.github/workflows/docker-develop.yml
vendored
18
.github/workflows/docker-develop.yml
vendored
|
|
@ -3,12 +3,18 @@ name: Publish Docker image (develop)
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
- art/dev
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
IMAGE_NAME: ${{ github.repository }}
|
||||
|
||||
jobs:
|
||||
push_to_registry:
|
||||
name: Push Docker image to Docker Hub
|
||||
permissions:
|
||||
packages: write
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'misskey-dev/misskey'
|
||||
steps:
|
||||
|
|
@ -23,12 +29,14 @@ jobs:
|
|||
id: meta
|
||||
uses: docker/metadata-action@v4
|
||||
with:
|
||||
images: misskey/misskey
|
||||
- name: Log in to Docker Hub
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and Push to Docker Hub
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
|
|
|
|||
16
.github/workflows/docker.yml
vendored
16
.github/workflows/docker.yml
vendored
|
|
@ -5,9 +5,15 @@ on:
|
|||
types: [published]
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
IMAGE_NAME: ${{ github.repository }}
|
||||
|
||||
jobs:
|
||||
push_to_registry:
|
||||
name: Push Docker image to Docker Hub
|
||||
permissions:
|
||||
packages: write
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
|
@ -22,7 +28,7 @@ jobs:
|
|||
id: meta
|
||||
uses: docker/metadata-action@v4
|
||||
with:
|
||||
images: misskey/misskey
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
tags: |
|
||||
type=edge
|
||||
type=ref,event=pr
|
||||
|
|
@ -30,11 +36,13 @@ jobs:
|
|||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
type=semver,pattern={{major}}
|
||||
- name: Log in to Docker Hub
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and Push to Docker Hub
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
|
|
|
|||
4
.github/workflows/dockle.yml
vendored
4
.github/workflows/dockle.yml
vendored
|
|
@ -4,8 +4,8 @@ name: Dockle
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
- art/main
|
||||
- art/dev
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
|
@ -3,8 +3,8 @@ name: Lint
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
- art/main
|
||||
- art/dev
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
13
.github/workflows/reviewer_lottery.yml
vendored
13
.github/workflows/reviewer_lottery.yml
vendored
|
|
@ -1,13 +0,0 @@
|
|||
name: "Reviewer lottery"
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened, ready_for_review, reopened]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: uesteibar/reviewer-lottery@v2
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
4
.github/workflows/test-backend.yml
vendored
4
.github/workflows/test-backend.yml
vendored
|
|
@ -3,8 +3,8 @@ name: Test (backend)
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
- art/main
|
||||
- art/dev
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
4
.github/workflows/test-frontend.yml
vendored
4
.github/workflows/test-frontend.yml
vendored
|
|
@ -3,8 +3,8 @@ name: Test (frontend)
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
- art/main
|
||||
- art/dev
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
4
.github/workflows/test-misskey-js.yml
vendored
4
.github/workflows/test-misskey-js.yml
vendored
|
|
@ -5,9 +5,9 @@ name: Test (misskey.js)
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ develop ]
|
||||
branches: [ art/dev ]
|
||||
pull_request:
|
||||
branches: [ develop ]
|
||||
branches: [ art/dev ]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
|
|
|||
4
.github/workflows/test-production.yml
vendored
4
.github/workflows/test-production.yml
vendored
|
|
@ -3,8 +3,8 @@ name: Test (production install and build)
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
- art/main
|
||||
- art/dev
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue