From 8ffe58fc5e88ef888ff5c7d4581ee2de1c534611 Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 21 Mar 2023 09:16:02 +0100 Subject: [PATCH] move nginx test workflow toseparate file --- .github/workflows/test-nginx.yml | 13 +++++++++++++ .github/workflows/test.yml | 25 ------------------------- 2 files changed, 13 insertions(+), 25 deletions(-) create mode 100644 .github/workflows/test-nginx.yml diff --git a/.github/workflows/test-nginx.yml b/.github/workflows/test-nginx.yml new file mode 100644 index 000000000..1b6c91bdf --- /dev/null +++ b/.github/workflows/test-nginx.yml @@ -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/ \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1e5f0db02..0fcedb4ce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 ########################################################## ##############################################################################