Skip to content

Commit

Permalink
Improving publishing workflow for images
Browse files Browse the repository at this point in the history
* Cosign installer version bumped
* Workflow can now be triggered manually
* Minor formatting change

Signed-off-by: Jiri Podivin <[email protected]>
  • Loading branch information
jpodivin committed Oct 4, 2024
1 parent df8ed1f commit a314baa
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker
name: Docker Build and Publish

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
Expand All @@ -12,12 +12,11 @@ on:
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main" ]

workflow_dispatch:
env:
REGISTRY: quay.io
IMAGE_NAME: logdetective/website


jobs:
build:

Expand All @@ -33,13 +32,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

# Install the cosign tool except on PR
# Install and test the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
- name: Install cosign
if: ${{ github.event_name != 'pull_request' && contains(github.ref, 'refs/tags/') }}
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 #v3.1.1
with:
cosign-release: 'v2.1.1'
uses: sigstore/[email protected]
- name: Check install!
if: ${{ github.event_name != 'pull_request' && contains(github.ref, 'refs/tags/') }}
run: cosign version

# Set up BuildKit Docker container builder to be able to build
# multi-platform images and export cache
Expand Down

0 comments on commit a314baa

Please sign in to comment.