Skip to content

Commit 168fda3

Browse files
committed
Streamline workflows: adjust deploy tags pattern, set deploy-specific environment variables, and remove unused env vars from tag workflow.
1 parent 7b6df0d commit 168fda3

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ name: Deploy
33
on:
44
push:
55
tags:
6-
- '**'
6+
- '*'
7+
8+
env:
9+
REGISTRY: ghcr.io
10+
IMAGE_NAME: ${{ github.repository_owner }}/self-monitor
711

812
jobs:
913
build-and-push-image:

.github/workflows/tag.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ name: Tag
33
on:
44
workflow_dispatch:
55

6-
env:
7-
REGISTRY: ghcr.io
8-
IMAGE_NAME: ${{ github.repository_owner }}/self-monitor
9-
106
jobs:
117
create-tag:
128
runs-on: ubuntu-latest

self-monitor/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ scmVersion {
8080
prefix = ""
8181
}
8282

83+
8384
nextVersion {
8485
suffix = "SNAPSHOT"
8586
separator = "-"

0 commit comments

Comments
 (0)