Skip to content

Commit

Permalink
more creative short sha setup
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Nov 17, 2023
1 parent d5b04fc commit e96d60e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
uses: actions/checkout@v4
- name: installing plural
uses: pluralsh/[email protected]
- name: current sha
run: git rev-parse --short HEAD
- name: Using short sha
run: echo ${GITHUB_SHA::7}
- name: Update service
run: plural cd services update @mgmt/marketing --conf tag=sha-$(git rev-parse --short HEAD)
run: plural cd services update @mgmt/marketing --conf tag=sha-${GITHUB_SHA::7}

0 comments on commit e96d60e

Please sign in to comment.