mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-11-30 22:45:46 +01:00
changed docker.yml only triggering workflow on push
This commit is contained in:
13
.github/workflows/docker.yml
vendored
13
.github/workflows/docker.yml
vendored
@@ -3,9 +3,8 @@ name: CI/CD Pipeline
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches: [ main, master, development ]
|
branches: [ "development", "main", "staging" ]
|
||||||
pull_request:
|
tags: [ "v*.*.*" ]
|
||||||
branches: [ main, master, development ]
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
@@ -165,7 +164,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Display pushed images
|
- name: Display pushed images
|
||||||
run: |
|
run: |
|
||||||
echo "✅ Docker images pushed successfully!"
|
echo "Docker images pushed successfully!"
|
||||||
echo "📦 Image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}"
|
echo "- Image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}"
|
||||||
echo "🏷️ Tags: ${{ steps.meta.outputs.tags }}"
|
echo "- Tags: ${{ steps.meta.outputs.tags }}"
|
||||||
echo "🚀 New version: ${{ needs.set-tag.outputs.tag_name }}"
|
echo "- New version: ${{ needs.set-tag.outputs.tag_name }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user