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
|
- name: Get commit SHA
|
||||||
id: commit
|
id: commit
|
||||||
run: |
|
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
|
echo "sha_full=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Setup porter
|
- name: Setup porter
|
||||||
|
|
|
@ -116,7 +116,7 @@ jobs:
|
||||||
- name: Extract metadata and determine tags
|
- name: Extract metadata and determine tags
|
||||||
id: meta
|
id: meta
|
||||||
run: |
|
run: |
|
||||||
SHA_SHORT=$(git rev-parse --short HEAD)
|
SHA_SHORT=$(git rev-parse --short=7 HEAD)
|
||||||
echo "sha_short=${SHA_SHORT}" >> $GITHUB_OUTPUT
|
echo "sha_short=${SHA_SHORT}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
if [[ "${{ github.ref_name }}" == "main" ]]; then
|
if [[ "${{ github.ref_name }}" == "main" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue