Skip to content

Commit

Permalink
IOSAS | CI/CD | Fix github tag promotion action
Browse files Browse the repository at this point in the history
  • Loading branch information
fwpushan committed Oct 12, 2023
1 parent 3d61f6f commit 07d2122
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ jobs:
api:
name: Openshift Promote app
runs-on: ubuntu-latest
concurrency: ci-config-${{ inputs.oc_env_suffix }}
concurrency: ci-config-${{ github.ref }}
timeout-minutes: 20
steps:
- name: Set Date time
run: echo "DATE_TIME=$(date ''+%Y%m%d%H%M%S'')" >> $GITHUB_ENV
- name: Set env prefix
run: |
echo "ENV_PREFIX=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Set env
working-directory: './tools'
run: |
echo "PUBLIC_HOST=$(make get-ui-url)" >> $GITHUB_ENV
echo "OC_NAMESPACE=$(make get-oc-namespace)" >> $GITHUB_ENV
Expand Down

0 comments on commit 07d2122

Please sign in to comment.