Skip to content

Workflow file for this run

name: Main Workflow - Build docker and push to docker hub
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: glendmaatita/small-app:latest