File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM ${BASE}
55RUN apk update
66
77# common
8- RUN apk add bash build-base cmake curl git icu lsb-release-minimal sudo tar wget
8+ RUN apk add bash build-base cmake curl git icu lsb-release-minimal nodejs npm sudo tar wget
99
1010# sentry-native
1111RUN apk add curl-dev docker-cli libunwind-dev libunwind-static linux-headers openssl-dev zlib-dev xz-dev xz-static
Original file line number Diff line number Diff line change @@ -31,10 +31,14 @@ jobs:
3131 username : ${{ github.actor }}
3232 password : ${{ secrets.GITHUB_TOKEN }}
3333
34- - name : Build ghcr.io/${{ github.repository_owner }}/sentry-dotnet-alpine:${{ matrix.version }}
35- run : docker build --build-arg BASE=alpine:${{ matrix.version }} -t ghcr.io/${{ github.repository_owner }}/sentry-dotnet-alpine:${{ matrix.version }} .
36- working-directory : .github/alpine
34+ - uses : docker/setup-qemu-action@v3
35+ - uses : docker/setup-buildx-action@v3
3736
38- - name : Push ghcr.io/${{ github.repository_owner }}/sentry-dotnet-alpine:${{ matrix.version }}
39- run : docker push ghcr.io/${{ github.repository_owner }}/sentry-dotnet-alpine:${{ matrix.version }}
40- working-directory : .github/alpine
37+ - uses : docker/build-push-action@v6
38+ with :
39+ push : true
40+ platforms : linux/amd64,linux/arm64
41+ tags : ghcr.io/${{ github.repository_owner }}/sentry-dotnet-alpine:${{ matrix.version }}
42+ context : .github/alpine
43+ build-args : |
44+ BASE=alpine:${{ matrix.version }}
You can’t perform that action at this time.
0 commit comments