Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix version publish #281

Merged
merged 2 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading