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

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