Skip to content

Build Docker images #37

Build Docker images

Build Docker images #37

Workflow file for this run

name: Build Docker images
on:
push:
branches:
- master
paths:
- .github/workflows/build.yml
- Dockerfile
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
jobs:
build-docker:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push - frxyt/cd-docker
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: |
frxyt/cd-docker