mirror of https://github.com/buster-so/buster.git
fix docker buiild and deploy in ci
This commit is contained in:
parent
c1ad9cd710
commit
a03776ed0a
|
@ -21,7 +21,7 @@ jobs:
|
|||
- name: Get commit SHA
|
||||
id: commit
|
||||
run: |
|
||||
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
||||
echo "sha_short=$(git rev-parse --short=7 HEAD)" >> $GITHUB_OUTPUT
|
||||
echo "sha_full=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Setup porter
|
||||
|
|
|
@ -116,7 +116,7 @@ jobs:
|
|||
- name: Extract metadata and determine tags
|
||||
id: meta
|
||||
run: |
|
||||
SHA_SHORT=$(git rev-parse --short HEAD)
|
||||
SHA_SHORT=$(git rev-parse --short=7 HEAD)
|
||||
echo "sha_short=${SHA_SHORT}" >> $GITHUB_OUTPUT
|
||||
|
||||
if [[ "${{ github.ref_name }}" == "main" ]]; then
|
||||
|
|
Loading…
Reference in New Issue