Skip to content

Commit

Permalink
🔧 Add required configuration file action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dinushchathurya committed Nov 12, 2022
1 parent a1b45a1 commit d9c4ae3
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: 'Docker Login, Build, Tag & Push Action'
author: 'Dinush Chathurya'
description: 'GitHub Action to login, build, tag & push Docker images to DockerHub'
inputs:
username:
description: 'Username to connect to Docker registry'
required: true
password:
description: 'Password to connect to Docker registry'
required: true
context:
description: 'Docker build context'
required: true
file:
description: 'Docker build file'
required: true
repoOwner:
description: 'Docker repository owner'
required: true
repository:
description: 'Docker repository'
required: true
tag:
description: 'Docker image tag'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.username }}
- ${{ inputs.password }}
- ${{ inputs.context }}
- ${{ inputs.file }}
- ${{ inputs.repoOwner }}
- ${{ inputs.repository }}
- ${{ inputs.tag }}
branding:
icon: 'upload'
color: 'black'

0 comments on commit d9c4ae3

Please sign in to comment.