Auth redis test

This commit is contained in:
2020-05-09 23:40:35 -04:00
parent da26a320b4
commit 4d551a3bfc
5 changed files with 98 additions and 3 deletions

36
.github/workflows/auth_test.yml vendored Normal file
View File

@ -0,0 +1,36 @@
name: Auth Test
on:
push:
branches:
- feature/scaling
jobs:
authorizer-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.1.0
- name: Setup Dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.100'
- name: Install Packages
run: |
dotnet add package StackExchange.Redis --version 2.1.39 --source https://www.myget.org/F/stackoverflow/api/v3/index.json
- name: Build
run: |
dotnet build --configuration Release
- name: Push Tag to Docker Hub
uses: opspresso/action-docker@master
with:
args: --docker
env:
USERNAME: ${{ secrets.DOCKER_USERNAME }}
PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
BUILD_PATH: "authorizer"
DOCKERFILE: "authorizer/Dockerfile"
IMAGE_NAME: "josephbmanley/defend-together-authorizer"
TAG_NAME: "stage"
LATEST: "false"