Compare commits
7 commits
develop
...
feat/docke
Author | SHA1 | Date | |
---|---|---|---|
|
ab2c98248f | ||
|
f44e9469e8 | ||
|
cf8f4345ea | ||
|
1523234eb2 | ||
|
13d308064e | ||
|
4023254f2a | ||
|
e15a6173d2 |
1 changed files with 29 additions and 0 deletions
29
.github/workflows/image.yml
vendored
Normal file
29
.github/workflows/image.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
name: buildx
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: develop
|
||||||
|
push:
|
||||||
|
branches: develop
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
buildx:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
# https://github.com/docker/setup-qemu-action
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v1
|
||||||
|
# https://github.com/docker/setup-buildx-action
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v1
|
||||||
|
- name: Available platforms
|
||||||
|
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||||
|
# not pushing to dockerhub for now
|
||||||
|
- name: Run Buildx
|
||||||
|
run: |
|
||||||
|
docker buildx build \
|
||||||
|
--platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le \
|
||||||
|
--output "type=image,push=false" \
|
||||||
|
--file ./docker/Dockerfile .
|
Loading…
Reference in a new issue