Skip to content

Commit

Permalink
Change condition type
Browse files Browse the repository at this point in the history
  • Loading branch information
s-vitaliy committed Jul 2, 2024
1 parent 99ca7c2 commit 1959fc6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish-ecr-public.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on:
workflow_dispatch:
inputs:
version:
description: Version number to publish
description: |
Version number to publish. Defaults to the latest git tag in the repository.
This version MUST exist in the ghcr.io registry.
required: false
default: "current"

Expand All @@ -18,7 +20,7 @@ jobs:
publish_image:
name: Publish Docker Image to ECR Public
runs-on: ubuntu-latest
# if: ${{ startsWith(github.ref, 'refs/tags') }}
if: ${{ startsWith(github.ref, 'refs/tags') }}

permissions:
contents: read
Expand Down

0 comments on commit 1959fc6

Please sign in to comment.