mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-10-10 08:23:45 +00:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
d82055f3f3 | ||
|
e003d8fe5b | ||
|
852f5c298a | ||
|
13fc448a23 | ||
|
cf9bd3939c |
12
.github/workflows/generate-release.yml
vendored
12
.github/workflows/generate-release.yml
vendored
@@ -9,6 +9,7 @@ env:
|
|||||||
REGISTRY: docker.io
|
REGISTRY: docker.io
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
DEFAULT_TYPE: "external"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push-image:
|
build-and-push-image:
|
||||||
@@ -48,16 +49,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
{{ if eq ${{matrix.type}} "external" }}latest{{ end }}
|
type=semver,pattern={{version}},enable=${{ matrix.type == env.DEFAULT_COMBINATION }}
|
||||||
{{ if eq ${{matrix.type}} "external" }}type=semver,pattern={{version}}{{ end }}
|
type=semver,pattern={{version}}-${{ matrix.type }},priority=500
|
||||||
type=semver,pattern={{version}}-${{ matrix.type }}
|
type=raw,value=latest,enable=${{ matrix.type == env.DEFAULT_COMBINATION }}
|
||||||
{{ if eq ${{matrix.type}} "external" }}type=semver,pattern={{major}}.{{minor}}{{ end }}
|
|
||||||
type=semver,pattern={{major}}.{{minor}}-${{ matrix.type }}
|
|
||||||
{{ if eq ${{matrix.type}} "external" }}type=semver,pattern={{major}}{{ end }}
|
|
||||||
type=semver,pattern={{major}}-${{ matrix.type }}
|
|
||||||
type=sha
|
type=sha
|
||||||
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user