Skip to content

ci-container

ci-container #33

Workflow file for this run

name: ci-container
on:
push:
branches:
- master
paths:
- Dockerfile
schedule:
- cron: '0 0 1 * *'
workflow_dispatch:
branches:
- master
jobs:
latest:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Log in to GitHub Docker Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build container image
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/${{ github.repository }}/ci-container:${{ github.job }}