Skip to content

Commit 4ce6b72

Browse files
committed
Modified github action to build rpi images
1 parent 07ca37c commit 4ce6b72

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/docker-image.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,25 @@ jobs:
3232
tags: |
3333
type=raw,value=latest
3434
35+
labels: |
36+
org.opencontainers.image.title=Hasses Daemon
37+
org.opencontainers.image.description=Multi-platform support for Raspberry Pi and PC
38+
org.opencontainers.image.vendor=HyperProg
39+
40+
- name: Set up Docker Buildx
41+
uses: docker/setup-buildx-action@v2
42+
3543
- name: Build and push
36-
uses: docker/build-push-action@v2
44+
uses: docker/build-push-action@v4
3745
with:
3846
context: .
3947
file: Docker/Dockerfile
4048
push: true
49+
platforms: |
50+
linux/amd64,
51+
linux/arm/v6,
52+
linux/arm/v7,
53+
linux/arm64/v8
54+
4155
tags: ${{ steps.meta.outputs.tags }}
4256
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)