CI: build the Lyrica image only when ./lyrica changes (its own workflow), so a Docker Hub timeout cannot fail the main build
This commit is contained in:
1 parent
c82bd7cae9
commit
ae00f61711
2 files changed
+37
-18
No files matched your search
@@ -64,21 +64,3 @@ jobs:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=registry,ref=git.necloud.us/nate/hub:buildcache
|
||||
cache-to: type=registry,ref=git.necloud.us/nate/hub:buildcache,mode=max
|
||||
|
||||
# The lyrics container (Lyrica, pinned)
|
||||
- id: meta_ly
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: git.necloud.us/nate/hub-lyrica
|
||||
tags: |
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
type=sha,format=short
|
||||
type=ref,event=tag
|
||||
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./lyrica
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: ${{ steps.meta_ly.outputs.tags }}
|
||||
labels: ${{ steps.meta_ly.outputs.labels }}
|
||||
Reference in new issue
Block a user