Skip to content

Commit

Permalink
Add amd64 build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey-Vervoort-KNMI committed Apr 8, 2024
1 parent bffc0fb commit efd163d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/registry_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
CPU: "arm64"

jobs:
docker-build-and-publish-arm:
docker-build-and-publish:
runs-on: ubuntu-latest
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
permissions:
Expand All @@ -25,18 +26,21 @@ jobs:
include:
- context: ./datastore/datastore/
IMAGE_NAME: datastore
CPU: ["arm64", "amd64"]
- context: ./api/
IMAGE_NAME: api
CPU: ["arm64", "amd64"]
# - context: ./ingest/
# IMAGE_NAME: ingest
# CPU: ["arm64", "amd64"]
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: 'arm64'
platforms: ${{ env.CPU }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down Expand Up @@ -66,7 +70,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: ${{ matrix.context }}
platforms: linux/arm64
platforms: linux/${{ env.CPU }}
file: ${{ matrix.context }}/Dockerfile
pull: true
push: true
Expand Down

1 comment on commit efd163d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API Unit Test Coverage Report
FileStmtsMissCoverMissing
\_\_init\_\_.py00100% 
datastore_pb2.py584621%24–69
datastore_pb2_grpc.py432347%37–52, 85–87, 92–94, 99–101, 106–108, 112–136, 174, 191, 208, 225
grpc_getter.py201145%15–16, 20–23, 27–29, 33–35
locustfile.py15150%1–31
main.py34585%41, 51–52, 62–63
metadata_endpoints.py552555%42–51, 55, 72–151, 155
utilities.py683253%15, 33, 40, 62–65, 73–80, 85–92, 104–123
custom_geo_json
   edr_feature_collection.py60100% 
formatters
   \_\_init\_\_.py110100% 
   covjson.py53198%75
   geojson.py15287%17, 42
routers
   \_\_init\_\_.py00100% 
   edr.py1093072%59–146, 231–232, 276–277
   feature.py451958%70–103, 113–118, 124–146
TOTAL53220961% 

API Unit Test Coverage Summary

Tests Skipped Failures Errors Time
17 0 💤 0 ❌ 0 🔥 1.811s ⏱️

Please sign in to comment.