Browse Source

Branch name

power-cycle
Mayank 4 years ago
parent
commit
815d4a4911
No known key found for this signature in database GPG Key ID: D037D60476CE748C
  1. 2
      .github/workflows/on-push.yml

2
.github/workflows/on-push.yml

@ -10,7 +10,7 @@ jobs:
name: Build and push manager image
steps:
- name: Set env variables
run: echo ::set-env name=BRANCH::${GITHUB_REF#refs/heads/}
run: echo "::set-env name=BRANCH::${GITHUB_REF#refs/heads/} | sed 's/\//-/g')"
- name: Show set env variables
run: |
printf " BRANCH: %s\n" "$BRANCH"

Loading…
Cancel
Save