move nginx test workflow toseparate file

This commit is contained in:
mahula 2023-03-21 09:16:02 +01:00
parent 2c71632633
commit 8ffe58fc5e
2 changed files with 13 additions and 25 deletions

13
.github/workflows/test-nginx.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name:
on: push
jobs:
build_test_nginx:
name: Docker Build Test - Nginx
runs-on: ubuntu-latest
steps:
uses: actions/checkout@v3
- name: nginx | Build 'test' image
run: docker build -t "gradido/nginx:test" nginx/

View File

@ -81,31 +81,6 @@ jobs:
name: docker-mariadb-test
path: /tmp/mariadb.tar
##############################################################################
# JOB: DOCKER BUILD TEST NGINX ###############################################
##############################################################################
build_test_nginx:
name: Docker Build Test - Nginx
runs-on: ubuntu-latest
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
##########################################################################
- name: Checkout code
uses: actions/checkout@v3
##########################################################################
# BUILD NGINX DOCKER IMAGE ###############################################
##########################################################################
- name: nginx | Build `test` image
run: |
docker build -t "gradido/nginx:test" nginx/
docker save "gradido/nginx:test" > /tmp/nginx.tar
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: docker-nginx-test
path: /tmp/nginx.tar
##############################################################################
# JOB: LINT BACKEND ##########################################################
##############################################################################