github packages #289
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: github packages | |
on: | |
# Rebuild the container once every week | |
schedule: | |
- cron: "0 1 * * 1" | |
push: | |
branches: | |
- "master" | |
paths: | |
- "Dockerfile" | |
pull_request: | |
paths: | |
- "Dockerfile" | |
workflow_dispatch: | |
jobs: | |
docker: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Push to GitHub Packages | |
uses: docker/build-push-action@v1 | |
with: | |
push: ${{ github.event_name != 'pull_request' }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
registry: ghcr.io | |
repository: ${{ github.repository }}/gtk4 | |
tags: latest |