refactor workflows

- adjust names
- publish community_server
- publish login_server
- test build & publish nginx
- test build & publish mariadb
This commit is contained in:
Ulf Gebhardt 2021-04-16 16:10:00 +02:00
parent ebd362f7b8
commit cf575ba626
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD
2 changed files with 308 additions and 232 deletions

View File

@ -2,38 +2,17 @@ name: gradido publish CI
on: on:
push: push:
branches: # branches:
- master # - master
jobs: jobs:
##############################################################################
# JOB: PREPARE ###############################################################
##############################################################################
#prepare:
# name: Prepare
# runs-on: ubuntu-latest
# # needs: [nothing]
# steps:
# ##########################################################################
# # CHECKOUT CODE ##########################################################
# ##########################################################################
# - name: Checkout code
# uses: actions/checkout@v2
# ##########################################################################
# # TODO: DO STUFF ??? #####################################################
# ##########################################################################
# - name: Check translation files
# run: |
# scripts/translations/sort.sh
# scripts/translations/missing-keys.sh
############################################################################## ##############################################################################
# JOB: DOCKER BUILD COMMUNITY NEO4J ########################################## # JOB: DOCKER BUILD COMMUNITY NEO4J ##########################################
############################################################################## ##############################################################################
build_production_frontend: build_production_frontend:
name: Docker Build Production - Frontend name: Docker Build Production - Frontend
runs-on: ubuntu-latest runs-on: ubuntu-latest
#needs: [prepare] [nothing] #needs: [nothing]
steps: steps:
########################################################################## ##########################################################################
# CHECKOUT CODE ########################################################## # CHECKOUT CODE ##########################################################
@ -65,116 +44,152 @@ jobs:
path: /tmp/frontend.tar path: /tmp/frontend.tar
############################################################################## ##############################################################################
# JOB: DOCKER BUILD PRODUCTION BACKEND ####################################### # JOB: DOCKER BUILD PRODUCTION LOGIN SERVER ##################################
############################################################################## ##############################################################################
#build_production_backend: build_production_login_server:
# name: Docker Build Production - Backend name: Docker Build Production - Login Server
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# needs: [prepare] #needs: [nothing]
# steps: steps:
# ########################################################################## ##########################################################################
# # CHECKOUT CODE ########################################################## # CHECKOUT CODE ##########################################################
# ########################################################################## ##########################################################################
# - name: Checkout code - name: Checkout code
# uses: actions/checkout@v2 uses: actions/checkout@v2
# ########################################################################## ##########################################################################
# # SET ENVS ############################################################### # SET ENVS ###############################################################
# ########################################################################## ##########################################################################
# - name: ENV - VERSION - name: ENV - VERSION
# run: echo "VERSION=$(node -p -e "require('./package.json').version")" >> $GITHUB_ENV run: echo "VERSION=$(node -p -e "require('./package.json').version")" >> $GITHUB_ENV
# - name: ENV - BUILD_DATE - name: ENV - BUILD_DATE
# run: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV run: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV
# - name: ENV - BUILD_VERSION - name: ENV - BUILD_VERSION
# run: echo "BUILD_VERSION=${VERSION}.${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV run: echo "BUILD_VERSION=${VERSION}.${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
# - name: ENV - BUILD_COMMIT - name: ENV - BUILD_COMMIT
# run: echo "BUILD_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV run: echo "BUILD_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV
# ########################################################################## ##########################################################################
# # BUILD BACKEND DOCKER IMAGE (production) ################################ # LOGIN SERVER ###########################################################
# ########################################################################## ##########################################################################
# - name: backend | Build `production` image - name: Login Server | Build `production` image
# run: | run: |
# docker build --target production -t "ocelotsocialnetwork/backend:latest" -t "ocelotsocialnetwork/backend:${VERSION}" -t "ocelotsocialnetwork/backend:${BUILD_VERSION}" backend/ docker build -t "gradido/login_server:latest" -t "gradido/login_server:production" -t "gradido/login_server:${VERSION}" -t "gradido/login_server:${BUILD_VERSION}" login_server/
# docker save "ocelotsocialnetwork/backend" > /tmp/backend.tar docker save "gradido/login_server" > /tmp/login_server.tar
# - name: Upload Artifact - name: Upload Artifact
# uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
# with: with:
# name: docker-backend-production name: docker-login-server-production
# path: /tmp/backend.tar path: /tmp/login_server.tar
############################################################################## ##############################################################################
# JOB: DOCKER BUILD PRODUCTION WEBAPP ######################################## # JOB: DOCKER BUILD PRODUCTION COMMUNITY SERVER ##############################
############################################################################## ##############################################################################
#build_production_webapp: build_production_community_server:
# name: Docker Build Production - WebApp name: Docker Build Production - Community Server
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# needs: [prepare] #needs: [nothing]
# steps: steps:
# ########################################################################## ##########################################################################
# # CHECKOUT CODE ########################################################## # CHECKOUT CODE ##########################################################
# ########################################################################## ##########################################################################
# - name: Checkout code - name: Checkout code
# uses: actions/checkout@v2 uses: actions/checkout@v2
# ########################################################################## ##########################################################################
# # SET ENVS ############################################################### # SET ENVS ###############################################################
# ########################################################################## ##########################################################################
# - name: ENV - VERSION - name: ENV - VERSION
# run: echo "VERSION=$(node -p -e "require('./package.json').version")" >> $GITHUB_ENV run: echo "VERSION=$(node -p -e "require('./package.json').version")" >> $GITHUB_ENV
# - name: ENV - BUILD_DATE - name: ENV - BUILD_DATE
# run: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV run: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV
# - name: ENV - BUILD_VERSION - name: ENV - BUILD_VERSION
# run: echo "BUILD_VERSION=${VERSION}.${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV run: echo "BUILD_VERSION=${VERSION}.${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
# - name: ENV - BUILD_COMMIT - name: ENV - BUILD_COMMIT
# run: echo "BUILD_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV run: echo "BUILD_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV
# ########################################################################## ##########################################################################
# # BUILD WEBAPP DOCKER IMAGE (build) ###################################### # COMMUNITY SERVER #######################################################
# ########################################################################## ##########################################################################
# - name: webapp | Build `production` image - name: Community Server | Build `production` image
# run: | run: |
# docker build --target production -t "ocelotsocialnetwork/webapp:latest" -t "ocelotsocialnetwork/webapp:${VERSION}" -t "ocelotsocialnetwork/webapp:${BUILD_VERSION}" webapp/ docker build -t "gradido/community_server:latest" -t "gradido/community_server:production" -t "gradido/community_server:${VERSION}" -t "gradido/community_server:${BUILD_VERSION}" community_server/
# docker save "ocelotsocialnetwork/webapp" > /tmp/webapp.tar docker save "gradido/community_server" > /tmp/community_server.tar
# - name: Upload Artifact - name: Upload Artifact
# uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
# with: with:
# name: docker-webapp-production name: docker-community-server-production
# path: /tmp/webapp.tar path: /tmp/community_server.tar
############################################################################## ##############################################################################
# JOB: DOCKER BUILD PRODUCTION MAINTENANCE ################################### # JOB: DOCKER BUILD PRODUCTION MARIADB #######################################
############################################################################## ##############################################################################
#build_production_maintenance: build_production_mariadb:
# name: Docker Build Production - Maintenance name: Docker Build Production - MariaDB
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# needs: [prepare] #needs: [nothing]
# steps: steps:
# ########################################################################## ##########################################################################
# # CHECKOUT CODE ########################################################## # CHECKOUT CODE ##########################################################
# ########################################################################## ##########################################################################
# - name: Checkout code - name: Checkout code
# uses: actions/checkout@v2 uses: actions/checkout@v2
# ########################################################################## ##########################################################################
# # SET ENVS ############################################################### # SET ENVS ###############################################################
# ########################################################################## ##########################################################################
# - name: ENV - VERSION - name: ENV - VERSION
# run: echo "VERSION=$(node -p -e "require('./package.json').version")" >> $GITHUB_ENV run: echo "VERSION=$(node -p -e "require('./package.json').version")" >> $GITHUB_ENV
# - name: ENV - BUILD_DATE - name: ENV - BUILD_DATE
# run: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV run: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV
# - name: ENV - BUILD_VERSION - name: ENV - BUILD_VERSION
# run: echo "BUILD_VERSION=${VERSION}.${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV run: echo "BUILD_VERSION=${VERSION}.${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
# - name: ENV - BUILD_COMMIT - name: ENV - BUILD_COMMIT
# run: echo "BUILD_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV run: echo "BUILD_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV
# ########################################################################## ##########################################################################
# # BUILD MAINTENANCE DOCKER IMAGE (build) ################################# # MARIADB ################################################################
# ########################################################################## ##########################################################################
# - name: maintenance | Build `production` image - name: MariaDB | Build `production` image
# # TODO: --target production run: |
# run: | docker build -t "gradido/mariadb:latest" -t "gradido/mariadb:production" -t "gradido/mariadb:${VERSION}" -t "gradido/mariadb:${BUILD_VERSION}" -f ./mariadb/Dockerfile ./
# docker build -t "ocelotsocialnetwork/maintenance:latest" -t "ocelotsocialnetwork/maintenance:${VERSION}" -t "ocelotsocialnetwork/maintenance:${BUILD_VERSION}" webapp/ -f webapp/Dockerfile.maintenance docker save "gradido/mariadb" > /tmp/mariadb.tar
# docker save "ocelotsocialnetwork/maintenance" > /tmp/maintenance.tar - name: Upload Artifact
# - name: Upload Artifact uses: actions/upload-artifact@v2
# uses: actions/upload-artifact@v2 with:
# with: name: docker-mariadb-production
# name: docker-maintenance-production path: /tmp/mariadb.tar
# path: /tmp/maintenance.tar
##############################################################################
# JOB: DOCKER BUILD PRODUCTION NGINX #########################################
##############################################################################
build_production_nginx:
name: Docker Build Production - Nginx
runs-on: ubuntu-latest
#needs: [nothing]
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
##########################################################################
- name: Checkout code
uses: actions/checkout@v2
##########################################################################
# SET ENVS ###############################################################
##########################################################################
- name: ENV - VERSION
run: echo "VERSION=$(node -p -e "require('./package.json').version")" >> $GITHUB_ENV
- name: ENV - BUILD_DATE
run: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV
- name: ENV - BUILD_VERSION
run: echo "BUILD_VERSION=${VERSION}.${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
- name: ENV - BUILD_COMMIT
run: echo "BUILD_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV
##########################################################################
# NGINX ##################################################################
##########################################################################
- name: Nginx | Build `production` image
run: |
docker build -t "gradido/nginx:latest" -t "gradido/nginx:production" -t "gradido/nginx:${VERSION}" -t "gradido/nginx:${BUILD_VERSION}" -f ./nginx/Dockerfile ./
docker save "gradido/nginx" > /tmp/nginx.tar
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: docker-nginx-production
path: /tmp/nginx.tar
############################################################################## ##############################################################################
# JOB: UPLOAD TO DOCKERHUB ################################################### # JOB: UPLOAD TO DOCKERHUB ###################################################
@ -202,27 +217,34 @@ jobs:
path: /tmp path: /tmp
- name: Load Docker Image - name: Load Docker Image
run: docker load < /tmp/frontend.tar run: docker load < /tmp/frontend.tar
#- name: Download Docker Image (Backend) - name: Download Docker Image (Login Server)
# uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
# with: with:
# name: docker-backend-production name: docker-login-server-production
# path: /tmp path: /tmp
#- name: Load Docker Image - name: Load Docker Image
# run: docker load < /tmp/backend.tar run: docker load < /tmp/login_server.tar
#- name: Download Docker Image (WebApp) - name: Download Docker Image (Community Server)
# uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
# with: with:
# name: docker-webapp-production name: docker-community-server-production
# path: /tmp path: /tmp
#- name: Load Docker Image - name: Load Docker Image
# run: docker load < /tmp/webapp.tar run: docker load < /tmp/community_server.tar
#- name: Download Docker Image (Maintenance) - name: Download Docker Image (MariaDB)
# uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
# with: with:
# name: docker-maintenance-production name: docker-mariadb-production
# path: /tmp path: /tmp
#- name: Load Docker Image - name: Load Docker Image
# run: docker load < /tmp/maintenance.tar run: docker load < /tmp/mariadb.tar
- name: Download Docker Image (Nginx)
uses: actions/download-artifact@v2
with:
name: docker-nginx-production
path: /tmp
- name: Load Docker Image
run: docker load < /tmp/nginx.tar
########################################################################## ##########################################################################
# Upload ################################################################# # Upload #################################################################
########################################################################## ##########################################################################
@ -230,78 +252,80 @@ jobs:
run: echo "${DOCKERHUB_TOKEN}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin run: echo "${DOCKERHUB_TOKEN}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin
- name: Push frontend - name: Push frontend
run: docker push --all-tags gradido/frontend run: docker push --all-tags gradido/frontend
#- name: Push backend - name: Push login_server
# run: docker push --all-tags ocelotsocialnetwork/backend run: docker push --all-tags gradido/login_server
#- name: Push webapp - name: Push community_server
# run: docker push --all-tags ocelotsocialnetwork/webapp run: docker push --all-tags gradido/community_server
#- name: Push maintenance - name: Push MariaDB
# run: docker push --all-tags ocelotsocialnetwork/maintenance run: docker push --all-tags gradido/mariadb
- name: Push Nginx
run: docker push --all-tags gradido/nginx
############################################################################## # # JOB: GITHUB TAG LATEST VERSION #############################################
# JOB: GITHUB TAG LATEST VERSION ############################################# # ##############################################################################
############################################################################## # ##############################################################################
github_tag: # github_tag:
name: Tag latest version on Github # name: Tag latest version on Github
runs-on: ubuntu-latest # runs-on: ubuntu-latest
needs: [upload_to_dockerhub] # needs: [upload_to_dockerhub]
steps: # steps:
########################################################################## # ##########################################################################
# CHECKOUT CODE ########################################################## # # CHECKOUT CODE ##########################################################
########################################################################## # ##########################################################################
- name: Checkout code # - name: Checkout code
uses: actions/checkout@v2 # uses: actions/checkout@v2
with: # with:
fetch-depth: 0 # Fetch full History for changelog # fetch-depth: 0 # Fetch full History for changelog
########################################################################## # ##########################################################################
# SET ENVS ############################################################### # # SET ENVS ###############################################################
########################################################################## # ##########################################################################
- name: ENV - VERSION # - name: ENV - VERSION
run: echo "VERSION=$(node -p -e "require('./package.json').version")" >> $GITHUB_ENV # run: echo "VERSION=$(node -p -e "require('./package.json').version")" >> $GITHUB_ENV
- name: ENV - BUILD_DATE # - name: ENV - BUILD_DATE
run: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV # run: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV
- name: ENV - BUILD_VERSION # - name: ENV - BUILD_VERSION
run: echo "BUILD_VERSION=${VERSION}.${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV # run: echo "BUILD_VERSION=${VERSION}.${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
- name: ENV - BUILD_COMMIT # - name: ENV - BUILD_COMMIT
run: echo "BUILD_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV # run: echo "BUILD_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV
########################################################################## # ##########################################################################
# Push version tag to GitHub ############################################# # # Push version tag to GitHub #############################################
########################################################################## # ##########################################################################
# TODO: this will error on duplicate # # TODO: this will error on duplicate
#- name: package-version-to-git-tag # #- name: package-version-to-git-tag
# # uses: pkgdeps/git-tag-action@v2
# # with:
# # github_token: ${{ secrets.GITHUB_TOKEN }}
# # github_repo: ${{ github.repository }}
# # version: ${{ env.VERSION }}
# # git_commit_sha: ${{ github.sha }}
# # git_tag_prefix: "v"
# ##########################################################################
# # Push build tag to GitHub ###############################################
# ##########################################################################
# - name: package-version-to-git-tag + build number
# uses: pkgdeps/git-tag-action@v2 # uses: pkgdeps/git-tag-action@v2
# with: # with:
# github_token: ${{ secrets.GITHUB_TOKEN }} # github_token: ${{ secrets.GITHUB_TOKEN }}
# github_repo: ${{ github.repository }} # github_repo: ${{ github.repository }}
# version: ${{ env.VERSION }} # version: ${{ env.BUILD_VERSION }}
# git_commit_sha: ${{ github.sha }} # git_commit_sha: ${{ github.sha }}
# git_tag_prefix: "v" # git_tag_prefix: "b"
########################################################################## # ##########################################################################
# Push build tag to GitHub ############################################### # # Push release tag to GitHub #############################################
########################################################################## # ##########################################################################
- name: package-version-to-git-tag + build number # - name: yarn install
uses: pkgdeps/git-tag-action@v2 # run: yarn install
with: # - name: generate changelog
github_token: ${{ secrets.GITHUB_TOKEN }} # run: yarn auto-changelog --latest-version ${{ env.VERSION }} --unreleased-only
github_repo: ${{ github.repository }} # - name: package-version-to-git-release
version: ${{ env.BUILD_VERSION }} # continue-on-error: true # Will fail if tag exists
git_commit_sha: ${{ github.sha }} # id: create_release
git_tag_prefix: "b" # uses: actions/create-release@v1
########################################################################## # env:
# Push release tag to GitHub ############################################# # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
########################################################################## # with:
- name: yarn install # tag_name: ${{ env.VERSION }}
run: yarn install # release_name: ${{ env.VERSION }}
- name: generate changelog # body_path: ./CHANGELOG.md
run: yarn auto-changelog --latest-version ${{ env.VERSION }} --unreleased-only # draft: false
- name: package-version-to-git-release # prerelease: false
continue-on-error: true # Will fail if tag exists
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ env.VERSION }}
release_name: ${{ env.VERSION }}
body_path: ./CHANGELOG.md
draft: false
prerelease: false

View File

@ -46,17 +46,17 @@ jobs:
with: with:
submodules: recursive submodules: recursive
########################################################################## ##########################################################################
# BUILD LOGIN SERVER DOCKER IMAGE (build) ################################ # BUILD LOGIN SERVER DOCKER IMAGE ########################################
########################################################################## ##########################################################################
- name: login server | Build `test` image - name: login server | Build `test` image
run: | run: |
docker build --target login_server_debug -t "gradido/loginserver:test" -f ./login_server/Dockerfile.debug login_server/ docker build --target login_server_debug -t "gradido/login_server:test" -f ./login_server/Dockerfile.debug login_server/
docker save "gradido/loginserver:test" > /tmp/loginserver.tar docker save "gradido/login_server:test" > /tmp/login_server.tar
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: docker-loginserver-test name: docker-login-server-test
path: /tmp/loginserver.tar path: /tmp/login_server.tar
############################################################################## ##############################################################################
# JOB: DOCKER BUILD TEST COMMUNITY SERVER #################################### # JOB: DOCKER BUILD TEST COMMUNITY SERVER ####################################
@ -72,17 +72,69 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
########################################################################## ##########################################################################
# BUILD COMMUNITY SERVER DOCKER IMAGE (build) ############################ # BUILD COMMUNITY SERVER DOCKER IMAGE ####################################
########################################################################## ##########################################################################
- name: community server | Build `test` image - name: community server | Build `test` image
run: | run: |
docker build -t "gradido/communityserver:test" -f ./community_server/Dockerfile ./ docker build -t "gradido/community_server:test" -f ./community_server/Dockerfile ./
docker save "gradido/communityserver:test" > /tmp/communityserver.tar docker save "gradido/community_server:test" > /tmp/community_server.tar
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: docker-communityserver-test name: docker-community-server-test
path: /tmp/communityserver.tar path: /tmp/community_server.tar
##############################################################################
# JOB: DOCKER BUILD TEST MARIADB #############################################
##############################################################################
build_test_mariadb:
name: Docker Build Test - MariaDB
runs-on: ubuntu-latest
#needs: [nothing]
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
##########################################################################
- name: Checkout code
uses: actions/checkout@v2
##########################################################################
# BUILD MARIADB DOCKER IMAGE #############################################
##########################################################################
- name: mariadb | Build `test` image
run: |
docker build -t "gradido/mariadb:test" -f ./mariadb/Dockerfile ./
docker save "gradido/mariadb:test" > /tmp/mariadb.tar
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
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
#needs: [nothing]
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
##########################################################################
- name: Checkout code
uses: actions/checkout@v2
##########################################################################
# BUILD NGINX DOCKER IMAGE #############################################
##########################################################################
- name: nginx | Build `test` image
run: |
docker build -t "gradido/nginx:test" -f ./nginx/Dockerfile ./
docker save "gradido/nginx:test" > /tmp/nginx.tar
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: docker-nginx-test
path: /tmp/nginx.tar
############################################################################## ##############################################################################
# JOB: LINT FRONTEND ######################################################### # JOB: LINT FRONTEND #########################################################