Skip to content

container

container #30

Workflow file for this run

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