Skip to content

Update docker-build.yml #4

Update docker-build.yml

Update docker-build.yml #4

Workflow file for this run

name: Build and Push Docker Image
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Git pull
uses: actions/checkout@v2
- name: Docker Hub login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: lucailari/portfolio:latest