superlint/.github/workflows/deploy.yml

45 lines
1 KiB
YAML
Raw Normal View History

2019-11-08 09:31:16 -05:00
---
#########################
#########################
## Deploy Docker Image ##
#########################
#########################
#
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
#
#######################################
# Start the job on all push to master #
#######################################
2019-11-08 09:39:18 -05:00
on:
push:
branches:
- 'master'
2019-11-08 09:31:16 -05:00
###############
# Set the Job #
###############
jobs:
build:
# Name the Job
name: Deploy Docker Image
# Set the agent to run on
runs-on: ubuntu-latest
##################
# Load all steps #
##################
steps:
# Run Deploy script
- name: Deploy image to DockerHub
2019-11-08 09:42:17 -05:00
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
2019-11-08 09:31:16 -05:00
shell: bash
run: .automation/upload-docker.sh