Skip to content

Commit 75a3d96

Browse files
committed
🔧 no cronjobs and need latest
1 parent a05d69d commit 75a3d96

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/docker-image.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: Publish Docker Hub
22

33
on:
4+
# schedule:
5+
# - cron: '37 7 * * *'
46
push:
5-
tags:
6-
- '*'
7+
tags: [ 'v*.*','latest' ]
8+
pull_request:
9+
branches: [ "main" ]
710

811
jobs:
912
build:

.github/workflows/ghcr-publish.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ name: Publish Github Container Registry
66
# documentation.
77

88
on:
9-
schedule:
10-
- cron: '37 7 * * *'
9+
# schedule:
10+
# - cron: '37 7 * * *'
1111
push:
12-
branches: [ "main" ]
13-
# Publish semver tags as releases.
14-
tags: [ 'v*.*' ]
12+
tags: [ 'v*.*','latest' ]
1513
pull_request:
1614
branches: [ "main" ]
1715

@@ -93,4 +91,4 @@ jobs:
9391
COSIGN_EXPERIMENTAL: "true"
9492
# This step uses the identity token to provision an ephemeral certificate
9593
# against the sigstore community Fulcio instance.
96-
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}
94+
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}

0 commit comments

Comments
 (0)