Skip to content

build openwrt-arm64 docker image #3

build openwrt-arm64 docker image

build openwrt-arm64 docker image #3

name: build openwrt-arm64
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
- name: checkout code
uses: actions/checkout@v2
- name: install buildx
id: buildx
uses: docker/setup-buildx-action@v1
with:
version: latest
- name: login to docker hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: build the image
run: |
docker buildx build --push \
--tag mslovecc/openwrt-arm64:latest \
--platform linux/arm64 .