Skip to content

Commit

Permalink
Added tags and ref_type, removed branches trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
MukuFlash03 committed Oct 1, 2024
1 parent c946acb commit 63695ef
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/image_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: docker-image-push-admin

on:
push:
branches: [ master, cleanup-cicd ]
# branches: [ master, cleanup-cicd ]
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

workflow_dispatch:

Expand Down Expand Up @@ -45,6 +47,11 @@ jobs:
echo "Commit message: ${{ github.event.head_commit.message }}"
echo "Event name: ${{ github.event_name }}"
echo "Actor: ${{ github.actor }}"
echo "Ref: ${{ github.ref }}"
echo "Ref name: ${{ github.ref_name }}"
echo "Ref type: ${{ github.ref_type }}"
echo "Default branch: ${{ github.event.repository.default_branch }}"
echo "Github event base ref: ${{ github.event.base_ref }}"
build:
if: ${{ !contains(github.event.head_commit.author.name, 'Github Actions bot to update .env with latest tags') }}
Expand Down

0 comments on commit 63695ef

Please sign in to comment.