Skip to content

Commit

Permalink
fix version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
oseoin committed Jul 3, 2024
1 parent 2227491 commit c92cb54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-ot-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Variables
id: var
run: |
if [ -z "${{ inputs.nginx_version }}" ]; then
if [ -n "${{ inputs.nginx_version }}" ]; then
nginx_version="${{ inputs.nginx_version }}"
else
nginx_version=$(grep -m1 'FROM nginx:' <Dockerfile | awk -F'[: ]' '{print $3}')
Expand Down

0 comments on commit c92cb54

Please sign in to comment.