Skip to content

Commit

Permalink
working on tag depending on event
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelef committed Aug 6, 2023
1 parent 7d2d28f commit 5299426
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ghcr-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Publish Docker image to GHCR

on:
workflow_dispatch:
push:
branches:
- main
release:
types: [published]

Expand All @@ -18,6 +21,12 @@ jobs:
packages: write
id-token: write
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
echo "$GITHUB_CONTEXT"
- name: Check out the repo
uses: actions/checkout@v3

Expand Down

0 comments on commit 5299426

Please sign in to comment.