This commit is contained in:
18
.drone.yml
18
.drone.yml
@@ -78,14 +78,14 @@ steps:
|
||||
commands:
|
||||
- yarn install
|
||||
- yarn build
|
||||
- name: Publish NPM
|
||||
image: node:20-alpine
|
||||
failure: ignore
|
||||
commands:
|
||||
- yarn publish -t ${DRONE_TAG:-latest}
|
||||
volumes:
|
||||
- name: npmrc
|
||||
path: /drone/grow/.npmrc
|
||||
# - name: Publish NPM
|
||||
# image: node:20-alpine
|
||||
# failure: ignore
|
||||
# commands:
|
||||
# - yarn publish -t ${DRONE_TAG}
|
||||
# volumes:
|
||||
# - name: npmrc
|
||||
# path: /drone/grow/.npmrc
|
||||
# - name: Publish NPM
|
||||
# image: plugins/npm
|
||||
# failure: ignore
|
||||
@@ -119,7 +119,7 @@ steps:
|
||||
image: docker
|
||||
commands:
|
||||
# - 'docker login git.mifi.dev'
|
||||
- 'docker build -t git.mifi.dev/mifi/auth:latest -t git.mifi.dev/mifi/auth:${DRONE_TAG} .'
|
||||
- 'docker build -t git.mifi.dev/mifi/auth:latest -t git.mifi.dev/mifi/auth:${DRONE_TAG:-latest} .'
|
||||
- docker push git.mifi.dev/mifi/mifi/auth:latest
|
||||
volumes:
|
||||
- name: dockersock
|
||||
|
||||
Reference in New Issue
Block a user