Fix: Suporte para arquitetura ARM64 total
This commit is contained in:
parent
0b3ae4f945
commit
e2b981053f
|
|
@ -15,6 +15,13 @@ jobs:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Adiciona suporte a QEMU para conseguir buildar ARM64 em runners AMD64
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Log in to GitHub Container Registry
|
- name: Log in to GitHub Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
|
|
@ -27,6 +34,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: ./manager
|
context: ./manager
|
||||||
push: true
|
push: true
|
||||||
|
# Constrói para as duas arquiteturas
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: ghcr.io/${{ github.repository }}/edumanager:latest
|
tags: ghcr.io/${{ github.repository }}/edumanager:latest
|
||||||
|
|
||||||
- name: Build and push Portal
|
- name: Build and push Portal
|
||||||
|
|
@ -34,4 +43,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: ./portal
|
context: ./portal
|
||||||
push: true
|
push: true
|
||||||
|
# Constrói para as duas arquiteturas
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: ghcr.io/${{ github.repository }}/portalaluno:latest
|
tags: ghcr.io/${{ github.repository }}/portalaluno:latest
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue