File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- master
7
+ env :
8
+ REGISTRY : docker-hosted-nexus.finods.com/evryfs/
7
9
jobs :
8
10
build :
9
11
runs-on : ubuntu-latest
18
20
env :
19
21
CUSTOM_TAG : ${{ steps.tagName.outputs.tag_name }}
20
22
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
+
Original file line number Diff line number Diff line change 1
- FROM php:8.3.8 -apache
1
+ FROM php:8.2.20 -apache
2
2
COPY php.ini "$PHP_INI_DIR/php.ini"
3
3
COPY apache2.conf /etc/apache2
4
4
COPY openssl.cnf /etc/ssl/openssl.cnf
You can’t perform that action at this time.
0 commit comments