File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 docker-image :
1010 name : " Build docker image"
1111 runs-on : ubuntu-latest
12+ environment :
13+ name : " release"
1214 steps :
1315 - name : Checkout repo
1416 uses : actions/checkout@v3
Original file line number Diff line number Diff line change 1+ name : Test workflow
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ docker-image :
7+ name : " Build docker image"
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout repo
11+ uses : actions/checkout@v3
12+ - name : Set up qemu
13+ uses : docker/setup-qemu-action@v2
14+ with :
15+ platforms : all
16+ - name : Set up docker buildx
17+ id : buildx
18+ uses : docker/setup-buildx-action@v2
19+ with :
20+ version : latest
21+ - name : Run buildx
22+ run : |
23+ docker buildx build \
24+ --tag faucet/test-host:test \
25+ --platform linux/386,linux/amd64 \
26+ --file Dockerfile \
27+ .
Original file line number Diff line number Diff line change 88# This host is built on top of ubuntu which is the same as the base-test image so should be most stable.
99#
1010
11- FROM ubuntu:22.04
11+ FROM debian:bookworm
1212
1313RUN apt-get update \
1414 && apt-get upgrade -y \
You can’t perform that action at this time.
0 commit comments