Skip to content

Commit

Permalink
CI: try to use base_image
Browse files Browse the repository at this point in the history
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
  • Loading branch information
drakkan committed Feb 6, 2025
1 parent 74ffad8 commit fe9e7f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -472,17 +472,17 @@ jobs:
go: latest
go-arch: amd64
- arch: aarch64
distro: ubuntu18.04
distro: ubuntu:18.04
go: latest
go-arch: arm64
- arch: ppc64le
distro: ubuntu18.04
distro: ubuntu:18.04
go: latest
go-arch: ppc64le
- arch: armv7
distro: ubuntu18.04
distro: ubuntu:18.04
go: latest
go-arch: arm7
go-arch: arm7/v7
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -534,8 +534,9 @@ jobs:
name: Build for ${{ matrix.arch }}
id: build
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
#arch: ${{ matrix.arch }}
#distro: ${{ matrix.distro }}
base_image: '--platform=linux/${{ matrix.go-arch }} ubuntu:18.04'
setup: |
mkdir -p "${PWD}/output"
dockerRunArgs: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}

- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
builder: ${{ steps.builder.outputs.name }}
Expand Down

0 comments on commit fe9e7f4

Please sign in to comment.