Skip to content

Commit

Permalink
fix: cd on all branches (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 authored Nov 28, 2024
1 parent 99fba93 commit a5234ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 📦 CD
on:
push:
branches:
- main
- "**"

jobs:
docker:
Expand All @@ -26,6 +26,6 @@ jobs:
push: true
tags: |
ghcr.io/${{ env.GITHUB_REPOSITORY_OWNER_PART_SLUG }}/sites-faciles:${{ env.GITHUB_REF_SLUG }}
ghcr.io/${{ env.GITHUB_REPOSITORY_OWNER_PART_SLUG }}/sites-faciles:latest
${{ github.ref_name == 'main' && format('ghcr.io/{0}/sites-faciles:latest', env.GITHUB_REPOSITORY_OWNER_PART_SLUG) || '' }}
cache-from: type=registry,ref=ghcr.io/${{ env.GITHUB_REPOSITORY_OWNER_PART_SLUG }}/sites-faciles:${{ env.GITHUB_REF_SLUG }}
cache-to: type=inline

0 comments on commit a5234ee

Please sign in to comment.