mirror of
https://github.com/Dannecron/coverage-merger.git
synced 2025-12-25 15:52:34 +03:00
trying to add version to app
bump php and composer version in docker image
This commit is contained in:
7
.github/Dockerfile
vendored
7
.github/Dockerfile
vendored
@@ -1,5 +1,6 @@
|
||||
ARG PHP_VERSION=8.2.11
|
||||
ARG COMPOSER_VERSION=2.6.5
|
||||
ARG PHP_VERSION=8.2.13
|
||||
ARG COMPOSER_VERSION=2.6.6
|
||||
ARG MERGER_VERSION=dev-master
|
||||
|
||||
FROM composer:${COMPOSER_VERSION} as composer
|
||||
|
||||
@@ -15,4 +16,6 @@ RUN composer update --no-dev
|
||||
COPY merger merger
|
||||
COPY src src
|
||||
|
||||
ENV MERGER_VERSION=${MERGER_VERSION}
|
||||
|
||||
ENTRYPOINT ["/app/merger"]
|
||||
|
||||
1
.github/workflows/ci-tags.yml
vendored
1
.github/workflows/ci-tags.yml
vendored
@@ -18,6 +18,7 @@ jobs:
|
||||
--build-arg BUILDKIT_INLINE_CACHE=1 \
|
||||
--build-arg PHP_VERSION=${{ vars.DOCKER_RUNTIME_PHP_VERSION }} \
|
||||
--build-arg COMPOSER_VERSION=${{ vars.DOCKER_RUNTIME_COMPOSER_VERSION }} \
|
||||
--build-arg MERGER_VERSION=${{ github.ref_name }} \
|
||||
--target=runtime \
|
||||
--tag=dannecron/coverage-merger:${{ github.ref_name }} \
|
||||
--file=./.github/Dockerfile .
|
||||
|
||||
Reference in New Issue
Block a user