Skip to content

Commit

Permalink
Also tag latest with date suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
tboerger committed Oct 9, 2018
1 parent 94f22ae commit 0db544b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ pipeline:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag owncloud/base:${DRONE_COMMIT_SHA}-${DRONE_BUILD_NUMBER} owncloud/base:latest
- docker push owncloud/base:latest
- docker tag owncloud/base:${DRONE_COMMIT_SHA}-${DRONE_BUILD_NUMBER} owncloud/base:latest-$(date '+%Y%m%d')
- docker push owncloud/base:latest-$(date '+%Y%m%d')
when:
event: [ push ]

Expand Down

0 comments on commit 0db544b

Please sign in to comment.