Refactor steps with pipeline
This commit is contained in:
parent
c3aa190d3a
commit
06f291ca78
1 changed files with 20 additions and 20 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
# type: docker
|
# type: docker
|
||||||
# name: frontend-deployment
|
# name: frontend-deployment
|
||||||
|
|
||||||
pipeline:
|
steps:
|
||||||
build:
|
build:
|
||||||
image: node:22
|
image: node:22
|
||||||
commands:
|
commands:
|
||||||
|
|
@ -36,7 +36,7 @@ pipeline:
|
||||||
key:
|
key:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
port: 2332
|
port: 2332
|
||||||
commands:
|
script:
|
||||||
- cd /home/mnisyif/docker-containers/mnisyif/frontend
|
- cd /home/mnisyif/docker-containers/mnisyif/frontend
|
||||||
- VERSION=$(cat version.txt)
|
- VERSION=$(cat version.txt)
|
||||||
# Build the new Docker image with the current version tag
|
# Build the new Docker image with the current version tag
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue