Fix: Agregar --no-cache al docker build para incluir API endpoints
Se agregó la flag --no-cache al comando docker build para forzar una reconstrucción completa de la imagen Docker sin usar cache. Esto asegura que los endpoints de la API de Authentik (/api/authentik/user GET y PATCH) se incluyan correctamente en la imagen compilada.
This commit is contained in:
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Build+push ${{ vars.APP_NAME }}
|
- name: Build+push ${{ vars.APP_NAME }}
|
||||||
run: |
|
run: |
|
||||||
cd nuxt4
|
cd nuxt4
|
||||||
docker build -t $REG/${{ github.repository_owner }}/$APP_NAME:${{ github.sha }} -t $REG/${{ github.repository_owner }}/$APP_NAME:latest .
|
docker build --no-cache -t $REG/${{ github.repository_owner }}/$APP_NAME:${{ github.sha }} -t $REG/${{ github.repository_owner }}/$APP_NAME:latest .
|
||||||
docker push $REG/${{ github.repository_owner }}/$APP_NAME:${{ github.sha }}
|
docker push $REG/${{ github.repository_owner }}/$APP_NAME:${{ github.sha }}
|
||||||
docker push $REG/${{ github.repository_owner }}/$APP_NAME:latest
|
docker push $REG/${{ github.repository_owner }}/$APP_NAME:latest
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user