change location

This commit is contained in:
Lucas Gravley 2019-11-08 08:40:52 -06:00
parent cc34d9569a
commit 58e7a2c982

View file

@ -15,7 +15,6 @@
####################################### #######################################
on: on:
push: push:
# Only run when the push is on master
branches: branches:
- 'master' - 'master'
@ -23,13 +22,6 @@ on:
# Set the Job # # Set the Job #
############### ###############
jobs: jobs:
env:
# Set the Env Vars
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
IMAGE_REPO: admiralawkbar/super-linter
IMAGE_VERSION: latest
DOCKERFILE_PATH: Dockerfile
build: build:
# Name the Job # Name the Job
name: Deploy Docker Image name: Deploy Docker Image
@ -39,6 +31,13 @@ jobs:
# Load all steps # # Load all steps #
################## ##################
steps: steps:
env:
# Set the Env Vars
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
IMAGE_REPO: admiralawkbar/super-linter
IMAGE_VERSION: latest
DOCKERFILE_PATH: Dockerfile
# Run Deploy script # Run Deploy script
- name: Deploy image to DockerHub - name: Deploy image to DockerHub
shell: bash shell: bash