Skip to content

Commit

Permalink
remove arm
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome committed Feb 2, 2024
1 parent c59aa6d commit 8976b94
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ updates:
directory: "/test/environment/grpc"
schedule:
interval: "daily"
groups:
grpc-test:
update-types:
- "minor"
- "patch"
17 changes: 6 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ jobs:
- name: Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Setup QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: arm64

- name: Build binary
uses: docker/build-push-action@v5
with:
Expand All @@ -67,18 +62,18 @@ jobs:
tags: ${{ matrix.nginx_version }}
cache-from: type=gha,scope=${{ matrix.nginx_version }}
cache-to: type=gha,scope=${{ matrix.nginx_version }},mode=max
platforms: linux/amd64,linux/arm64
provenance: true
platforms: linux/amd64
provenance: mode=max
sbom: true
target: export
build-args: NGINX_VERSION=${{ matrix.nginx_version }}
outputs: type=local,dest=out

- name: Compress output
run: |
tar -czf linux-amd64-nginx-${{ matrix.nginx_version }}-ngx_http_module.so.tgz -C out/linux_amd64/ ngx_http_opentracing_module.so
tar -czf linux-arm64-nginx-${{ matrix.nginx_version }}-ngx_http_module.so.tgz -C out/linux_arm64/ ngx_http_opentracing_module.so
cp out/linux_amd64/provenance.json linux-amd64-nginx-${{ matrix.nginx_version }}-ngx_http_module.so.provenance.json
cp out/linux_arm64/provenance.json linux-arm64-nginx-${{ matrix.nginx_version }}-ngx_http_module.so.provenance.json
tar -czf linux-amd64-nginx-${{ matrix.nginx_version }}-ngx_http_module.so.tgz -C out/ ngx_http_opentracing_module.so
cp out/provenance.json linux-amd64-nginx-${{ matrix.nginx_version }}-ngx_http_module.so.provenance.json
cp out/sbom.spdx.json linux-amd64-nginx-${{ matrix.nginx_version }}-ngx_http_module.so.sbom.spdx.json
- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 8976b94

Please sign in to comment.