Aaron Dewes
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
.github/workflows/on-push.yml
-
.github/workflows/on-tag.yml
|
|
@ -10,7 +10,7 @@ jobs: |
|
|
|
name: Build and push manager image |
|
|
|
steps: |
|
|
|
- name: Set env variables |
|
|
|
run: echo "::set-env name=BRANCH::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//-/g')" |
|
|
|
run: echo "BRANCH=$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//-/g')" >> $GITHUB_ENV |
|
|
|
- name: Show set env variables |
|
|
|
run: | |
|
|
|
printf " BRANCH: %s\n" "$BRANCH" |
|
|
|
|
|
@ -15,7 +15,7 @@ jobs: |
|
|
|
name: Build and push manager image |
|
|
|
steps: |
|
|
|
- name: Set env variables |
|
|
|
run: echo ::set-env name=TAG::${GITHUB_REF/refs\/tags\//} |
|
|
|
run: echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV |
|
|
|
|
|
|
|
- name: Show set environment variables |
|
|
|
run: | |
|
|
|