-
Notifications
You must be signed in to change notification settings - Fork 14
/
publish.sh
executable file
·31 lines (25 loc) · 801 Bytes
/
publish.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
# -----------------------------------------------------------------------------
# Easy!Appointments - Online Appointment Scheduler
#
# @package EasyAppointments
# @author A.Tselegidis <alextselegidis@gmail.com>
# @copyright Copyright (c) Alex Tselegidis
# @license https://opensource.org/licenses/GPL-3.0 - GPLv3
# @link https://easyappointments.org
# -----------------------------------------------------------------------------
##
# Publish a docker image tag for an Easy!Appointments release.
#
# Usage:
#
# ./publish.sh <version>
#
# Example:
#
# ./publish.sh 1.5.0
#
DEFAULT_VERSION=1.5.0
VERSION="${1:-$DEFAULT_VERSION}"
docker tag easyappointments:$VERSION alextselegidis/easyappointments:$VERSION
docker push alextselegidis/easyappointments:$VERSION