lookyloo/.github/workflows/dockerimage.yml

21 lines
472 B
YAML
Raw Normal View History

2020-08-13 17:27:50 +02:00
name: Push to docker hub
2019-11-15 16:51:37 +01:00
on: [push]
jobs:
2020-08-13 17:27:50 +02:00
push_to_registry:
2020-08-13 17:29:19 +02:00
name: Push Docker image to Docker Hub
2019-11-15 16:51:37 +01:00
runs-on: ubuntu-latest
2020-08-13 17:29:19 +02:00
steps:
- name: Checkout code
uses: actions/checkout@v2
2019-11-15 16:51:37 +01:00
2020-08-13 17:29:19 +02:00
- name: Build and push Docker images
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: lookyloo/lookyloo
tags: latest