chore(action): change to .art (#3)

This commit is contained in:
Mogyuchi 2023-07-05 20:46:11 +09:00
parent 306f6464e5
commit 227d2549d5
No known key found for this signature in database
GPG key ID: 59FD1FE61E03F2B4
10 changed files with 39 additions and 36 deletions

View file

@ -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: