Skip to content

Commit

Permalink
ci: fix version publish (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt authored May 7, 2024
1 parent 740731d commit 3f1fc18
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/build-push-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Build Docker Images, Push to Registry, and Deploy

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

jobs:
build-and-push-amd64:
Expand Down Expand Up @@ -44,12 +49,6 @@ jobs:
push: true
tags: |
lunary/${{ matrix.service }}:latest
lunary/${{ matrix.service }}:1.2.14
lunary/${{ matrix.service }}:1.2.15
lunary/${{ matrix.service }}:1.2.16
lunary/${{ matrix.service }}:1.2.17
lunary/${{ matrix.service }}:1.2.18
lunary/${{ matrix.service }}:1.2.19
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
Expand Down Expand Up @@ -110,11 +109,7 @@ jobs:
push: true
tags: |
lunary/lunary-ee:latest
lunary/lunary-ee:1.2.14
lunary/lunary-ee:1.2.16
lunary/lunary-ee:1.2.17
lunary/lunary-ee:1.2.18
lunary/lunary-ee:1.2.19
lunary/lunary-ee:1.2.20
lunary/lunary-ee:rev-${{ steps.date.outputs.date }}-${{ steps.commit.outputs.hash }}
${{ github.event.release.tag_name != '' && format('lunary/{0}:{1}', 'lunary-ee', steps.release_tag.outputs.tag) || '' }}
platforms: linux/amd64
2 changes: 1 addition & 1 deletion ops
Submodule ops updated from 2f886b to 0247dd

0 comments on commit 3f1fc18

Please sign in to comment.