You've already forked Traefik-Redis-Api
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
3e232ab198
|
|||
|
f74d7f3895
|
|||
|
303a10feba
|
|||
|
d8dff9e833
|
|||
|
88eb6d4d05
|
@@ -2,4 +2,5 @@ include:
|
|||||||
- local: .gitlab/ci/stages.yml
|
- local: .gitlab/ci/stages.yml
|
||||||
- local: .gitlab/ci/tests.yml
|
- local: .gitlab/ci/tests.yml
|
||||||
- local: .gitlab/ci/libraries.yml
|
- local: .gitlab/ci/libraries.yml
|
||||||
|
- local: .gitlab/ci/build.yml
|
||||||
|
|
||||||
|
|||||||
14
.gitlab/ci/build.yml
Normal file
14
.gitlab/ci/build.yml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
include:
|
||||||
|
- component: $CI_SERVER_FQDN/shared/blueprints/docker-build@v1.2.0
|
||||||
|
rules:
|
||||||
|
- if: '$CI_COMMIT_TAG'
|
||||||
|
inputs:
|
||||||
|
registry: scr.siteworxpro.com
|
||||||
|
registryUser: $CI_REGISTRY_USER
|
||||||
|
dockerHubUser: $CI_DOCKER_HUB_USER
|
||||||
|
dockerHubPat: $CI_DOCKER_HUB_PAT
|
||||||
|
registryPassword: $CI_REGISTRY_PASSWORD
|
||||||
|
platform: "linux/amd64,linux/arm64"
|
||||||
|
stage: build
|
||||||
|
repo: scr.siteworxpro.com/traefik-api
|
||||||
|
tag: "${CI_COMMIT_TAG}"
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
stages:
|
stages:
|
||||||
- libraries
|
- libraries
|
||||||
- tests
|
- tests
|
||||||
|
- build
|
||||||
@@ -17,7 +17,7 @@ FROM php:8.4.6-alpine AS php
|
|||||||
# Move the production PHP configuration file to the default location
|
# Move the production PHP configuration file to the default location
|
||||||
RUN mv /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini \
|
RUN mv /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini \
|
||||||
&& apk add libpq-dev linux-headers --no-cache \
|
&& apk add libpq-dev linux-headers --no-cache \
|
||||||
&& docker-php-ext-install pdo_pgsql sockets \
|
&& docker-php-ext-install sockets \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
# Set the working directory to /app
|
# Set the working directory to /app
|
||||||
|
|||||||
Reference in New Issue
Block a user