Move environment variables under steps
Some checks reported errors
continuous-integration/drone Build encountered an error
Some checks reported errors
continuous-integration/drone Build encountered an error
This commit is contained in:
parent
6156d5e9d2
commit
7d43226770
1 changed files with 7 additions and 8 deletions
15
.drone.yml
15
.drone.yml
|
@ -7,6 +7,13 @@ name: Build and Push
|
|||
clone:
|
||||
disable: true
|
||||
|
||||
# Set Platform
|
||||
# https://docs.drone.io/pipeline/exec/syntax/platform/
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
# Set global environment variables.
|
||||
# https://docs.drone.io/pipeline/environment/syntax/#per-pipeline
|
||||
environment:
|
||||
|
@ -18,14 +25,6 @@ environment:
|
|||
from_secret: CODEBERG_USERNAME
|
||||
CODEBERG_PASSWORD:
|
||||
from_secret: CODEBERG_PASSWORD
|
||||
|
||||
# Set Platform
|
||||
# https://docs.drone.io/pipeline/exec/syntax/platform/
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: 4get
|
||||
failure: ignore # If step fails, ignore and move onto next step.
|
||||
commands:
|
||||
|
|
Loading…
Reference in a new issue