mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
move nginx test workflow toseparate file
This commit is contained in:
parent
2c71632633
commit
8ffe58fc5e
13
.github/workflows/test-nginx.yml
vendored
Normal file
13
.github/workflows/test-nginx.yml
vendored
Normal 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/
|
||||
25
.github/workflows/test.yml
vendored
25
.github/workflows/test.yml
vendored
@ -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 ##########################################################
|
||||
##############################################################################
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user