1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

ci: Only build docker image for amd64 in PRs

This commit is contained in:
Quentin Gliech
2022-08-19 11:19:21 +02:00
parent 809a3ad00c
commit 310785c615

View File

@ -451,11 +451,13 @@ jobs:
# For pull-requests, only read from the cache, do not try to push to the
# cache or the image itself
# We only build for the amd64 platform in pul-requests to speed-up CI
- name: Build
uses: docker/bake-action@v2
if: github.event_name == 'pull_request'
with:
set: |
base.platform=linux/amd64
base.cache-from=type=registry,ref=${{ env.IMAGE }}:buildcache
- name: Build and push