lookyloo/.github/workflows/dockerimage.yml

21 lines
472 B
YAML

name: Push to docker hub
on: [push]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build and push Docker images
uses: docker/build-push-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: lookyloo/lookyloo
tags: latest