Skip to content
This repository has been archived by the owner on Oct 18, 2018. It is now read-only.

Commit

Permalink
Do not release platform 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gboddin committed Jun 24, 2018
1 parent a8b9e09 commit c32d02e
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
workspace:
base: /${DRONE_BRANCH%%/*}
path: ${DRONE_BRANCH##*/}

pipeline:
build-and-push-image:
# Build and push tags :
build-and-push:
image: plugins/docker
repo: fpfis/httpd-php-dev
tags: [ 7.1 ]
# - ${DRONE_BRANCH:8:1}
# - ${DRONE_BRANCH##*/}
secrets: [ docker_username, docker_password ]
auto_tag: true
secrets: [ DOCKER_USERNAME, DOCKER_PASSWORD ]
when:
event: tag

# Build and push dev release
build-and-push-branch:
image: plugins/docker
repo: fpfis/platform
tags: ${DRONE_BRANCH##*/}
secrets: [ DOCKER_USERNAME, DOCKER_PASSWORD ]
when:
event: push
branch: release/*

# Mark production
build-and-push-production:
image: plugins/docker
repo: fpfis/platform
tags: production-${DRONE_BRANCH##*/}
secrets: [ DOCKER_USERNAME, DOCKER_PASSWORD ]
when:
event: push
branch: production/*

0 comments on commit c32d02e

Please sign in to comment.