fix(workshop): publish release v2 image
This commit is contained in:
1 parent
42bf55641b
commit
4ddc7266e9
1 file changed
+3
-3
@@ -3,7 +3,7 @@ name: Workshop
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
branches: [dev, v2, main]
|
branches: [dev, v2, release/v2, main]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
- run: pnpm test:workshop-image
|
- run: pnpm test:workshop-image
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
if: github.event_name == 'push' && (github.ref_name == 'v2' || github.ref_name == 'main')
|
if: github.event_name == 'push' && (github.ref_name == 'v2' || github.ref_name == 'release/v2' || github.ref_name == 'main')
|
||||||
needs: validate
|
needs: validate
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
images: ghcr.io/homarr-labs/workshop
|
images: ghcr.io/homarr-labs/workshop
|
||||||
tags: |
|
tags: |
|
||||||
type=sha,prefix=sha-,format=long
|
type=sha,prefix=sha-,format=long
|
||||||
type=raw,value=v2,enable=${{ github.ref_name == 'v2' }}
|
type=raw,value=v2,enable=${{ github.ref_name == 'v2' || github.ref_name == 'release/v2' }}
|
||||||
type=raw,value=latest,enable=${{ github.ref_name == 'main' }}
|
type=raw,value=latest,enable=${{ github.ref_name == 'main' }}
|
||||||
- uses: docker/build-push-action@v7
|
- uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in new issue
Block a user