update actions

This commit is contained in:
riku6460 2023-09-28 06:05:39 +09:00
parent 50d246a1c0
commit 56a817b004
No known key found for this signature in database
GPG Key ID: 27414FA27DB94CF6
1 changed files with 5 additions and 5 deletions

View File

@ -14,19 +14,19 @@ jobs:
if: github.repository == 'MisskeyIO/misskey' if: github.repository == 'MisskeyIO/misskey'
steps: steps:
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Set up Docker Buildx - name: Set up Docker Buildx
id: buildx id: buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v3
with: with:
platforms: linux/amd64 platforms: linux/amd64
- name: Docker meta - name: Docker meta
id: meta id: meta
uses: docker/metadata-action@v4 uses: docker/metadata-action@v5
with: with:
images: ghcr.io/misskeyio/misskey images: ghcr.io/misskeyio/misskey
- name: Log in to GitHub Container Registry - name: Log in to GitHub Container Registry
uses: docker/login-action@v2 uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
@ -35,7 +35,7 @@ jobs:
run: | run: |
echo "FORMATTED_BRANCH_NAME=$(echo ${{ github.ref_name }} | sed -e 's/\//-/g' )" >> $GITHUB_ENV echo "FORMATTED_BRANCH_NAME=$(echo ${{ github.ref_name }} | sed -e 's/\//-/g' )" >> $GITHUB_ENV
- name: Build and Push to GitHub Container Registry - name: Build and Push to GitHub Container Registry
uses: docker/build-push-action@v4 uses: docker/build-push-action@v5
with: with:
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
context: . context: .