Skip to content

Commit

Permalink
add latest input to docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
woodruffw committed Feb 12, 2025
1 parent 5990f68 commit 40ddf11
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
description: 'The version of zizmor to build against'
required: true

latest:
description: 'Whether to tag the image as latest'
required: false
default: true
type: boolean

permissions: {}

env:
Expand Down Expand Up @@ -123,7 +129,7 @@ jobs:
images: "${{ env.ZIZMOR_IMAGE }}"
tags: |
type=raw,value=${{ github.event.inputs.version }}
typw=raw,value=latest
typw=raw,value=latest,enable=${{ github.event.inputs.latest }}
- name: Create manifest list and push
working-directory: ${{ runner.temp }}/digests
Expand Down

0 comments on commit 40ddf11

Please sign in to comment.