mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-14 00:54:21 +08:00
DO droplet TAG determination
This commit is contained in:
parent
3d82df3bc6
commit
1ab42151f4
1 changed files with 2 additions and 2 deletions
4
.github/workflows/deletedroplets.yml
vendored
4
.github/workflows/deletedroplets.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
|||
"https://api.digitalocean.com/v2/droplets?tag_name=$TAG"
|
||||
env:
|
||||
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
|
||||
TAG: ${{ github.event.workflow_run.run_id }}-${{ github.event.workflow_run.run_attempt }}
|
||||
TAG: ${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}
|
||||
|
||||
on-failure:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -35,4 +35,4 @@ jobs:
|
|||
"https://api.digitalocean.com/v2/droplets?tag_name=$TAG"
|
||||
env:
|
||||
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
|
||||
TAG: ${{ github.event.workflow_run.run_id }}-${{ github.event.workflow_run.run_attempt }}
|
||||
TAG: ${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}
|
||||
|
|
Loading…
Add table
Reference in a new issue