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
2021-06-11 21:19:49 +02:00
uses: docker/build-push-action@v2
2020-08-13 17:29:19 +02:00
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: lookyloo/lookyloo
tags: latest