Skip to content

Commit

Permalink
Merge pull request #29 from atsu1125/patch-dockerCI
Browse files Browse the repository at this point in the history
Automatic build for arm64, amd64
  • Loading branch information
atsu1125 authored May 5, 2022
2 parents 2088d6a + 3fd98fb commit 733c7b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
Expand All @@ -34,11 +38,13 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Build and Push to GitHub Container Registry
uses: docker/build-push-action@v2
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ghcr.io/atsu1125/mastodon:latest

0 comments on commit 733c7b6

Please sign in to comment.