mirror of https://github.com/CIRCL/lookyloo
new: Publish to dockerhub
parent
b6c6c7756e
commit
3cad522e4f
|
@ -1,14 +1,20 @@
|
||||||
name: Docker Image CI
|
name: Push to docker hub
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
push_to_registry:
|
||||||
|
name: Push Docker image to Docker Hub
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
steps:
|
- name: Build and push Docker images
|
||||||
- uses: actions/checkout@v1
|
uses: docker/build-push-action@v1
|
||||||
- name: Build the Docker image
|
with:
|
||||||
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
repository: lookyloo/lookyloo
|
||||||
|
tags: latest
|
||||||
|
|
Loading…
Reference in New Issue