We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bd5cc2 commit ed51b1aCopy full SHA for ed51b1a
.github/workflows/docker-publish.yml
@@ -6,23 +6,17 @@ name: Docker
6
# documentation.
7
8
on:
9
- push:
10
- branches: [ "main" ]
11
- # Publish semver tags as releases.
12
- tags: [ 'v*.*.*' ]
13
- pull_request:
14
+ release:
+ types: [published]
15
16
env:
17
# Use docker.io for Docker Hub if empty
18
REGISTRY: ghcr.io
19
# github.repository as <account>/<repo>
20
IMAGE_NAME: ${{ github.repository }}
21
22
-
23
jobs:
24
build:
25
26
runs-on: ubuntu-latest
27
permissions:
28
contents: read
@@ -40,7 +34,7 @@ jobs:
40
34
- name: Install Cosign
41
35
uses: sigstore/cosign-installer@v3.5.0
42
36
with:
43
- cosign-release: 'v2.2.4'
37
+ cosign-release: "v2.2.4"
44
38
- name: Check install!
45
39
run: cosign version
46
0 commit comments