Skip to content

Commit

Permalink
fix(pipeline): broken pipe file
Browse files Browse the repository at this point in the history
  • Loading branch information
RouHim committed Nov 12, 2022
1 parent 2bac83f commit 82c1611
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set image tag global
run: env
run: |
GIT_BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}}
echo "GIT_BRANCH=$GIT_BRANCH"
if [ $GIT_BRANCH = "main" ]; then export TEST_IMAGE_TAG=latest; else export TEST_IMAGE_TAG=next; fi
echo "TEST_IMAGE_TAG=$TEST_IMAGE_TAG"
check-oci-config:
name: Check Containerfile
Expand Down

0 comments on commit 82c1611

Please sign in to comment.