Skip to content

feat: Add image build workflow #4

feat: Add image build workflow

feat: Add image build workflow #4

Workflow file for this run

on: [push]
jobs:
docker-login-build-tag-push:
runs-on: ubuntu-latest
name: Docker Login, Build, Tag & Push
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build, Tag & Publish Image to DockerHub
uses: dinushchathurya/build-tag-push-action@v1.2.1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
context: .
file: Dockerfile
repoOwner: ${{ secrets.DOCKER_USERNAME }}
repository: gh-ost-image
tag: 1.0.0