mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 10:24:02 +00:00
fix(ci): build Docker images for linux/amd64 only to fix Cloud Run deploys
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -114,6 +114,7 @@ jobs:
|
|||||||
file: apps/${{ matrix.service }}/Dockerfile
|
file: apps/${{ matrix.service }}/Dockerfile
|
||||||
push: false
|
push: false
|
||||||
tags: household-${{ matrix.service }}:ci
|
tags: household-${{ matrix.service }}:ci
|
||||||
|
platforms: linux/amd64
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
@@ -166,6 +167,7 @@ jobs:
|
|||||||
file: apps/${{ matrix.service }}/Dockerfile
|
file: apps/${{ matrix.service }}/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.image.outputs.name }}
|
tags: ${{ steps.image.outputs.name }}
|
||||||
|
platforms: linux/amd64
|
||||||
cache-from: type=registry,ref=${{ steps.image.outputs.cache_ref }}
|
cache-from: type=registry,ref=${{ steps.image.outputs.cache_ref }}
|
||||||
cache-to: type=registry,ref=${{ steps.image.outputs.cache_ref }},mode=max
|
cache-to: type=registry,ref=${{ steps.image.outputs.cache_ref }},mode=max
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user