Skip to content

Commit 46b8c97

Browse files
committed
changed version
1 parent 87f4674 commit 46b8c97

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/dockerimage.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- master
7+
env:
8+
REGISTRY: docker-hosted-nexus.finods.com/evryfs/
79
jobs:
810
build:
911
runs-on: ubuntu-latest
@@ -18,3 +20,18 @@ jobs:
1820
env:
1921
CUSTOM_TAG: ${{ steps.tagName.outputs.tag_name }}
2022
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
publish-to-repo:
24+
name: Publish artifacts to Nexus
25+
runs-on: [ self-hosted, linux, finods-global ]
26+
needs: build
27+
steps:
28+
- name: checkout
29+
uses: actions/checkout@v2.4.0
30+
31+
- name: Build Docker Image / push to Nexus
32+
if: github.ref == 'refs/heads/develop'
33+
run: |
34+
docker build . -t ${{env.REGISTRY}}:apache-php-web:8.2.20-apache
35+
docker login -u ${{ secrets.DTS_JENKINS_IS_USER }} -p ${{ secrets.DTS_JENKINS_IS_PASSWORD }} docker-hosted-nexus.finods.com
36+
docker push ${{env.REGISTRY}}:apache-php-web:8.2.20-apache
37+

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.3.8-apache
1+
FROM php:8.2.20-apache
22
COPY php.ini "$PHP_INI_DIR/php.ini"
33
COPY apache2.conf /etc/apache2
44
COPY openssl.cnf /etc/ssl/openssl.cnf

0 commit comments

Comments
 (0)