Skip to content

Commit

Permalink
Change ci execution policy (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
arbulu89 authored Feb 8, 2024
1 parent 138f214 commit aaf308d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
name: Build & push container image to GH packages
on: [push]
on:
push:
tags-ignore:
- "*"
branches:
- "main"
pull_request:
release:
types: [published]
workflow_dispatch:

env:
REGISTRY: ghcr.io
Expand All @@ -8,6 +17,7 @@ env:
jobs:
build-and-push-image:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || github.event_name == 'release'
permissions:
contents: read
packages: write
Expand Down

0 comments on commit aaf308d

Please sign in to comment.