Skip to content

Build and push docker images #86

Build and push docker images

Build and push docker images #86

Workflow file for this run

name: Build and push docker images
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "24 04 1 * *"
jobs:
build_ursadb:
name: Build image
runs-on: ubuntu-latest
env:
DOCKER_BUILDKIT: 1
steps:
- name: Check out repository
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build and push the image
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
dockerfile: ./Dockerfile
repository: mqueryci/${{ github.event.repository.name }}
tags: ${{ github.sha }}
push: ${{ github.event_name == 'push' }}