Add auth dev push
This commit is contained in:
parent
712154f5b1
commit
3ffe0256cc
42
.github/workflows/auth_test.yml
vendored
42
.github/workflows/auth_test.yml
vendored
@ -1,42 +0,0 @@
|
||||
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
|
||||
working-directory: authorizer
|
||||
run: |
|
||||
dotnet add package StackExchange.Redis --version 2.1.39 --source https://www.myget.org/F/stackoverflow/api/v3/index.json
|
||||
|
||||
# AWS SDK
|
||||
dotnet add package AWSSDK.Core --version 3.5.0-beta
|
||||
dotnet add package AWSSDK.ECS --version 3.5.0-beta
|
||||
- name: Build
|
||||
working-directory: authorizer
|
||||
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"
|
34
.github/workflows/push_dev.yml
vendored
34
.github/workflows/push_dev.yml
vendored
@ -6,6 +6,40 @@ on:
|
||||
- master
|
||||
|
||||
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
|
||||
working-directory: authorizer
|
||||
run: |
|
||||
dotnet add package StackExchange.Redis --version 2.1.39 --source https://www.myget.org/F/stackoverflow/api/v3/index.json
|
||||
|
||||
# AWS SDK
|
||||
dotnet add package AWSSDK.Core --version 3.5.0-beta
|
||||
dotnet add package AWSSDK.ECS --version 3.5.0-beta
|
||||
- name: Build
|
||||
working-directory: authorizer
|
||||
run: |
|
||||
dotnet build --configuration Release
|
||||
- name: Push Tag to GitHub Package
|
||||
uses: opspresso/action-docker@master
|
||||
with:
|
||||
args: --docker
|
||||
env:
|
||||
USERNAME: ${{ github.actor }}
|
||||
PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|
||||
REGISTRY: "docker.pkg.github.com"
|
||||
BUILD_PATH: "authorizer"
|
||||
DOCKERFILE: "authorizer/Dockerfile"
|
||||
IMAGE_NAME: "authorizer"
|
||||
TAG_NAME: dev:${{ github.actor }}
|
||||
LATEST: "false"
|
||||
cloudformation:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
Reference in New Issue
Block a user