ugly fix dropdown background #204
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Staging Build Workflow | |
on: | |
push: | |
branches: | |
- "staging" | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker/login-action@v1 | |
name: Login to DockerHub | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- uses: docker/[email protected] | |
name: Build and Push WebApp Image | |
id: docker_build | |
with: | |
push: true | |
tags: orgsinfo/webapp:latest | |
file: ./Dockerfile_staging | |
- name: WebApp Image Digest | |
run: echo ${{ steps.docker_build.outputs.digest }} | |
deploy: | |
needs: docker | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Deploy the webapp to the cluster | |
uses: nickgronow/kubectl@master | |
with: | |
config_data: ${{ secrets.KUBE_CONFIG_DATA }} | |
args: delete pod --selector="app=webapp-staging-app" --namespace=staging |