Skip to content

Commit

Permalink
Update publish
Browse files Browse the repository at this point in the history
  • Loading branch information
safstromo committed Jun 18, 2024
1 parent 9bd5cc2 commit ed51b1a
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,17 @@ name: Docker
# documentation.

on:
push:
branches: [ "main" ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main" ]
release:
types: [published]

env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}


jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -40,7 +34,7 @@ jobs:
- name: Install Cosign
uses: sigstore/[email protected]
with:
cosign-release: 'v2.2.4'
cosign-release: "v2.2.4"
- name: Check install!
run: cosign version

Expand Down

0 comments on commit ed51b1a

Please sign in to comment.