This commit is contained in:
parent
a71bbf8dc7
commit
2e9ecd793e
10
.drone.yml
10
.drone.yml
@ -10,3 +10,13 @@ steps:
|
||||
- sed -i '/"express":/d' ./package.json
|
||||
- npm install
|
||||
- npm run build
|
||||
|
||||
- name: docker
|
||||
image: docker
|
||||
script:
|
||||
- docker login -u "${my_registry}" -p "${DOCKERHUBPW}"
|
||||
- echo "Building container image $container_image"
|
||||
- docker build -t "${container_image}" .
|
||||
- docker run "${container_image}"
|
||||
- docker tag "${container_image}" "${my_registry}"/"${container_image}":"${env_tag}"
|
||||
- docker push "${my_registry}"/"${container_image}":"${env_tag}"
|
Loading…
Reference in New Issue
Block a user