Action for ARM
This commit is contained in:
parent
6d7ec6decd
commit
ce4c1adf70
1 changed files with 36 additions and 0 deletions
36
.github/workflows/arm-docker-publish.yml
vendored
Normal file
36
.github/workflows/arm-docker-publish.yml
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
name: Build ARM image
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
paths:
|
||||||
|
- 'Dockerfile'
|
||||||
|
- 'src/**'
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
paths:
|
||||||
|
- 'Dockerfile'
|
||||||
|
- 'src/**'
|
||||||
|
|
||||||
|
env:
|
||||||
|
IMAGE_NAME: watchyourlan
|
||||||
|
TAGS: latest, v0.7.2
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v2
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
id: buildx
|
||||||
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
|
- name: Available platforms
|
||||||
|
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||||
Loading…
Reference in a new issue