Skip to content

Commit

Permalink
add github actions docker arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
a-wing committed Mar 31, 2022
1 parent 37075fe commit bfd1b44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
name: Build container image
on:
workflow_dispatch:
push:
tags:
- "v*"
jobs:
build:
name: Build container image
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Docker meta
id: meta
uses: crazy-max/ghaction-docker-meta@v2
uses: docker/metadata-action@v3
with:
images: ghcr.io/sb-im/ncp
tags: |
Expand Down Expand Up @@ -44,6 +43,7 @@ jobs:
with:
file: Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=local,src=/tmp/.buildx-cache
Expand Down

0 comments on commit bfd1b44

Please sign in to comment.