Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt committed Apr 16, 2024
1 parent d29c006 commit 21b8e76
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-push-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Build Docker Images, Push to Registry, and Deploy

on:
push:
branches:
- main
release:
types: [published]
push
# push:
# branches:
# - main
# release:
# types: [published]

jobs:
build-and-push:
Expand Down Expand Up @@ -49,9 +50,10 @@ jobs:
push: true
tags: |
lunary/${{ matrix.service }}:latest
lunary/${{ matrix.service }}:1.2.11
lunary/${{ matrix.service }}:rev-${{ steps.date.outputs.date }}-${{ steps.commit.outputs.hash }}
${{ github.event.release.tag_name != '' && format('lunary/{0}:{1}', matrix.service, steps.release_tag.outputs.tag) || '' }}
platforms: linux/amd64
platforms: linux/amd64,linux/arm64

deploy:
needs: build-and-push
Expand Down

0 comments on commit 21b8e76

Please sign in to comment.