Skip to content

Commit

Permalink
feature(ci): Run docker build on all pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
sgillespie committed Mar 5, 2024
1 parent 77cd794 commit 0776e67
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ on:
release:
types:
- published
push:
tags:
- '**'
push: {}
pull_request: {}
workflow_dispatch: {}
schedule:
# Everyday at 4:00 AM UTC
- cron: "0 4 * * *"

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -46,6 +48,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Upload to ghcr.io
if: ${{ github.ref_type == 'tags' || github.event_name == 'release' }}
run: |
# Downcase the package repository, because docker reference
# are required to be lower case
Expand Down

0 comments on commit 0776e67

Please sign in to comment.