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 44 push :
55 branches :
66 - master
7+ env :
8+ REGISTRY : docker-hosted-nexus.finods.com/evryfs/
79jobs :
810 build :
911 runs-on : ubuntu-latest
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+
Original file line number Diff line number Diff line change 1- FROM php:8.3.8 -apache
1+ FROM php:8.2.20 -apache
22COPY php.ini "$PHP_INI_DIR/php.ini"
33COPY apache2.conf /etc/apache2
44COPY openssl.cnf /etc/ssl/openssl.cnf
You can’t perform that action at this time.
0 commit comments