Skip to content

Commit 1ce19b8

Browse files
committed
Test new Github Action, docker buildx
1 parent 82dbc71 commit 1ce19b8

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ jobs:
2020
- name: Build and test the image
2121
run: ./tests.sh
2222

23+
- name: Set up Docker Buildx
24+
id: buildx
25+
uses: docker/setup-buildx-action@v1
26+
27+
- name: Inspect builder
28+
run: |
29+
echo "Name: ${{ steps.buildx.outputs.name }}"
30+
echo "Endpoint: ${{ steps.buildx.outputs.endpoint }}"
31+
echo "Status: ${{ steps.buildx.outputs.status }}"
32+
echo "Flags: ${{ steps.buildx.outputs.flags }}"
33+
echo "Platforms: ${{ steps.buildx.outputs.platforms }}"
34+
2335
- name: Test an ARM build
2436
run: docker buildx build --output "type=image,push=false" --platform linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x --tag testarm:snapshot --file ./Dockerfile .
2537

0 commit comments

Comments
 (0)