diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml new file mode 100644 index 000000000..a3c5162f0 --- /dev/null +++ b/.github/workflows/image.yml @@ -0,0 +1,22 @@ +name: build our image + +on: + push: + branches: master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: checkout code + uses: actions/checkout@v2 + - name: install buildx + id: buildx + uses: crazy-max/ghaction-docker-buildx@v1 + with: + version: latest + - name: build the image + run: | + docker buildx build \ + --tag your-username/multiarch-example:latest \ + --platform linux/amd64,linux/arm/v7,linux/arm64 .