Skip to content

Commit

Permalink
Added static branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2005 committed Oct 16, 2020
1 parent 0439208 commit a951e7f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/crankshaft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
# schedule:
# - cron: '0 10 * * *' # everyday at 10am
push:
# branches:
# - '**'
tags:
- '*.*.*'
- 'csng-*'
Expand Down Expand Up @@ -35,7 +33,7 @@ jobs:
branch=${raw/origin\/}
echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}
echo ::set-output name=buildhash::$(git rev-parse --short "$GITHUB_SHA")
echo ::set-output name=buildbranch::${branch}
echo ::set-output name=buildbranch::'crankshaft-ng'
echo ::set-output name=builddate::$(date '+%Y-%m-%d')
-
name: Configure
Expand Down Expand Up @@ -63,7 +61,7 @@ jobs:
BUILDHASH: ${{ steps.get_version.outputs.buildhash }}
BUILDBRANCH: ${{ steps.get_version.outputs.buildbranch }}
BUILDDATE: ${{ steps.get_version.outputs.builddate }}
IMG_VERSION: '${{ steps.get_version.outputs.builddate }}-${{ steps.get_version.outputs.buildbranch }}-${{ steps.get_version.outputs.buildhash }}'
IMG_VERSION: '${{ steps.get_version.outputs.builddate }}-${{ steps.get_version.outputs.version }}-${{ steps.get_version.outputs.buildhash }}'
-
name: Run build
id: build-docker
Expand Down

0 comments on commit a951e7f

Please sign in to comment.