Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt committed Mar 31, 2024
1 parent d8f8aef commit abeac19
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build-push-deploy.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit abeac19

Please sign in to comment.