Skip to content

Update

Update #646

Workflow file for this run

name: Docker Image CI
on:
push:
tags:
- "*"
branches:
- "master"
pull_request:
branches:
- "master"
schedule:
- cron: '35 2 * * 1'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3.6.2
with:
images: ${{ secrets.DOCKERHUB_IMAGE }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}