diff --git a/.github/workflows/build-push-deploy.yml b/.github/workflows/build-push-deploy.yml index 3e08835c..bc7e2da5 100644 --- a/.github/workflows/build-push-deploy.yml +++ b/.github/workflows/build-push-deploy.yml @@ -1,10 +1,9 @@ name: Build Docker Images, Push to Registry, and Deploy on: - push - # push: - # branches: - # - main + push: + branches: + - main jobs: build-and-push: @@ -42,7 +41,7 @@ jobs: tags: | lunary/backend:latest lunary/backend:rev-${{ steps.date.outputs.date }}-${{ steps.commit.outputs.hash }} - platforms: linux/amd64, linux/arm64 + platforms: linux/arm64 - name: Build and push frontend uses: docker/build-push-action@v5 @@ -64,7 +63,7 @@ jobs: tags: | lunary/radar:latest lunary/radar:rev-${{ steps.date.outputs.date }}-${{ steps.commit.outputs.hash }} - platforms: linux/amd64, linux/arm64 + platforms: linux/arm64 - name: Build and push ml uses: docker/build-push-action@v5 @@ -75,7 +74,7 @@ jobs: tags: | lunary/ml:latest lunary/ml:rev-${{ steps.date.outputs.date }}-${{ steps.commit.outputs.hash }} - platforms: linux/amd64, linux/arm64 + platforms: linux/arm64 deploy: needs: build-and-push