fix(ci): remove warnings caused by missing `actions/checkout` step (#5874)
* fix(ci): remove warnings caused by missing `actions/checkout` * fix: typo in arguments * fix: add the whole disk name as this is a single instance * fix: add dis name to mount
This commit is contained in:
parent
99cbffbcc0
commit
fb3cc7b74c
|
@ -99,6 +99,10 @@ jobs:
|
|||
if: ${{ !cancelled() && !failure() && ((github.event_name == 'push' && github.ref_name == 'main') || github.event_name == 'release') }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3.2.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
with:
|
||||
|
@ -189,6 +193,10 @@ jobs:
|
|||
if: github.event_name == 'workflow_dispatch'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3.2.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
with:
|
||||
|
@ -217,8 +225,9 @@ jobs:
|
|||
--container-stdin \
|
||||
--container-tty \
|
||||
--container-image ${{ env.GAR_BASE }}/zebrad@${{ needs.build.outputs.image_digest }} \
|
||||
--create-disk=name=auto-delete=yes,size=300GB,type=pd-ssd \
|
||||
--container-mount-disk=mount-path='/zebrad-cache' \
|
||||
--create-disk=auto-delete=yes,size=300GB,type=pd-ssd \
|
||||
--create-disk=name=zebrad-cache-${{ env.GITHUB_SHA_SHORT }},auto-delete=yes,size=300GB,type=pd-ssd \
|
||||
--container-mount-disk=mount-path='/zebrad-cache',name=zebrad-cache-${{ env.GITHUB_SHA_SHORT }} \
|
||||
--machine-type ${{ env.MACHINE_TYPE }} \
|
||||
--zone ${{ env.ZONE }} \
|
||||
--labels=app=zebrad,environment=qa,network=${NETWORK},github_ref=${{ env.GITHUB_REF_SLUG_URL }} \
|
||||
|
|
Loading…
Reference in New Issue