mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-30 05:21:46 +03:00
Ensured latest docker image is built with SHLINK_VERSION=latest
This commit is contained in:
parent
3d99819be4
commit
8128e85b6b
3 changed files with 3 additions and 2 deletions
|
@ -19,7 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this
|
||||||
* *Nothing*
|
* *Nothing*
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
* *Nothing*
|
* [#1041](https://github.com/shlinkio/shlink/issues/1041) Added missing `--build-arg SHLINK_VERSION=latest` when building latest docker image.
|
||||||
|
|
||||||
|
|
||||||
## [2.6.1] - 2021-02-22
|
## [2.6.1] - 2021-02-22
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
FROM php:8.0.2-alpine3.13 as base
|
FROM php:8.0.2-alpine3.13 as base
|
||||||
|
|
||||||
ARG SHLINK_VERSION=2.5.2
|
ARG SHLINK_VERSION=2.6.1
|
||||||
ENV SHLINK_VERSION ${SHLINK_VERSION}
|
ENV SHLINK_VERSION ${SHLINK_VERSION}
|
||||||
ENV SWOOLE_VERSION 4.6.3
|
ENV SWOOLE_VERSION 4.6.3
|
||||||
ENV PDO_SQLSRV_VERSION 5.9.0
|
ENV PDO_SQLSRV_VERSION 5.9.0
|
||||||
|
|
|
@ -20,6 +20,7 @@ if [[ "$GITHUB_REF" != *"develop"* ]]; then
|
||||||
# If build branch is develop, build latest
|
# If build branch is develop, build latest
|
||||||
elif [[ "$GITHUB_REF" == *"develop"* ]]; then
|
elif [[ "$GITHUB_REF" == *"develop"* ]]; then
|
||||||
docker buildx build --push \
|
docker buildx build --push \
|
||||||
|
--build-arg SHLINK_VERSION=latest \
|
||||||
--platform ${PLATFORMS} \
|
--platform ${PLATFORMS} \
|
||||||
-t ${DOCKER_IMAGE}:latest .
|
-t ${DOCKER_IMAGE}:latest .
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue