Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mamico authored Nov 28, 2023
1 parent e662f85 commit 6e62f46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:
# id: extract_branch

- name: Get the version PR
run: echo "VERSION={{ $github.base_ref }} >> "$GITHUB_ENV"
run: echo "VERSION={{ $github.base_ref }}" >> "$GITHUB_ENV"
if: github.event_name == 'pull_request'

- name: Get the version
run: echo "VERSION={{ $github.ref_name }} >> "$GITHUB_ENV"
run: echo "VERSION={{ $github.ref_name }}" >> "$GITHUB_ENV"
if: github.event_name != 'pull_request'

# VERSION="${{ steps.extract_branch.outputs.branch }}"
Expand Down Expand Up @@ -120,11 +120,11 @@ jobs:
# echo ::set-output name=IMAGE_ID::$IMAGE_ID
- name: Get the version PR
run: echo "VERSION={{ $github.base_ref }} >> "$GITHUB_ENV"
run: echo "VERSION={{ $github.base_ref }}" >> "$GITHUB_ENV"
if: github.event_name == 'pull_request'

- name: Get the version
run: echo "VERSION={{ $github.ref_name }} >> "$GITHUB_ENV"
run: echo "VERSION={{ $github.ref_name }}" >> "$GITHUB_ENV"
if: github.event_name != 'pull_request'

- name: Build and push container image
Expand Down

0 comments on commit 6e62f46

Please sign in to comment.