Skip to content

Update docker-hub-build.yml #2

Update docker-hub-build.yml

Update docker-hub-build.yml #2

name: Auto 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/cinephilia:latest