mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6258d92464 | ||
|
|
c57d913c46 | ||
|
|
c7d949b1d1 | ||
|
|
6593a8e324 |
@@ -99,60 +99,33 @@ jobs:
|
|||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
# - name: Extract Docker metadata
|
|
||||||
# id: meta
|
|
||||||
# uses: docker/metadata-action@v5
|
|
||||||
# with:
|
|
||||||
# images: ${{ inputs.image_name }}
|
|
||||||
# tags: |
|
|
||||||
# type=semver,pattern={{version}}
|
|
||||||
# type=semver,pattern={{major}}.{{minor}}
|
|
||||||
# type=semver,pattern={{major}}
|
|
||||||
# type=raw,value=latest,enable=${{ inputs.add_latest }}
|
|
||||||
#
|
|
||||||
# # - name: Create and push manifest list
|
|
||||||
# # working-directory: /tmp/digests
|
|
||||||
# # run: |
|
|
||||||
# # DOCKER_IMAGES="$(cat amd64/image.txt) $(cat arm64/image.txt)"
|
|
||||||
# # TAG_ARGS=$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON")
|
|
||||||
# # docker buildx imagetools create $DOCKER_IMAGES $TAG_ARGS
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# - name: Create and push manifest list
|
|
||||||
# working-directory: /tmp/digests
|
|
||||||
# run: |
|
|
||||||
# DOCKER_IMAGES="$(cat amd64/image.txt) $(cat arm64/image.txt)"
|
|
||||||
# TAG_ARGS=$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON")
|
|
||||||
# echo $TAG_ARGS
|
|
||||||
# docker buildx imagetools create $TAG_ARGS $DOCKER_IMAGES
|
|
||||||
|
|
||||||
|
|
||||||
- name: Generate semantic tags
|
- name: Generate semantic tags
|
||||||
id: tags
|
id: tags
|
||||||
run: |
|
run: |
|
||||||
VERSION="${{ inputs.version }}"
|
VERSION="${{ inputs.version }}"
|
||||||
IFS='.' read -r MAJOR MINOR PATCH <<< "$VERSION"
|
IFS='.' read -r MAJOR MINOR PATCH <<< "$VERSION"
|
||||||
|
|
||||||
TAGS="$VERSION"
|
echo "VERSION_TAG=$VERSION" >> $GITHUB_OUTPUT
|
||||||
if [ -n "$MINOR" ]; then
|
if [ -n "$MINOR" ]; then
|
||||||
TAGS="$TAGS $MAJOR.$MINOR"
|
echo "MINOR_TAG=$MAJOR.$MINOR" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
if [ -n "$MAJOR" ]; then
|
if [ -n "$MAJOR" ]; then
|
||||||
TAGS="$TAGS $MAJOR"
|
echo "MAJOR_TAG=$MAJOR" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
if [ "${{ inputs.add_latest }}" = "true" ]; then
|
if [ "${{ inputs.add_latest }}" = "true" ]; then
|
||||||
TAGS="$TAGS latest"
|
echo "LATEST_TAG=latest" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "tags=$TAGS" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Extract Docker metadata
|
- name: Extract Docker metadata
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ inputs.image_name }}
|
images: ${{ inputs.image_name }}
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=${{ steps.tags.outputs.tags }}
|
type=raw,value=${{ steps.tags.outputs.VERSION_TAG }}
|
||||||
|
type=raw,value=${{ steps.tags.outputs.MINOR_TAG }}
|
||||||
|
type=raw,value=${{ steps.tags.outputs.MAJOR_TAG }}
|
||||||
|
type=raw,value=${{ steps.tags.outputs.LATEST_TAG }}
|
||||||
|
|
||||||
- name: Create and push manifest list
|
- name: Create and push manifest list
|
||||||
working-directory: /tmp/digests
|
working-directory: /tmp/digests
|
||||||
|
|||||||
@@ -44,23 +44,6 @@ jobs:
|
|||||||
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
||||||
|
|
||||||
|
|
||||||
# - name: Run release-it
|
|
||||||
# id: release_step
|
|
||||||
# run: |
|
|
||||||
# git pull origin main
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# VERSION=$(pnpm exec release-it --ci --release-version)
|
|
||||||
# echo "version=$VERSION"
|
|
||||||
# echo "version=$VERSION" >> $GITHUB_OUTPUT
|
|
||||||
#
|
|
||||||
# OUTPUT=$(pnpm exec release-it --ci)
|
|
||||||
# echo "$OUTPUT"
|
|
||||||
# DRAFT_TAG=$(echo "$OUTPUT" | grep -o 'releases/tag/[^ ]*' | sed 's|releases/tag/||')
|
|
||||||
# echo "draft_tag=$DRAFT_TAG" >> $GITHUB_OUTPUT
|
|
||||||
# env:
|
|
||||||
# GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
|
||||||
|
|
||||||
- name: Run release-it
|
- name: Run release-it
|
||||||
id: release_step
|
id: release_step
|
||||||
run: |
|
run: |
|
||||||
@@ -80,7 +63,6 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
publish-docker:
|
publish-docker:
|
||||||
needs: create-release
|
needs: create-release
|
||||||
uses: ./.github/workflows/docker.yml
|
uses: ./.github/workflows/docker.yml
|
||||||
@@ -120,7 +102,7 @@ jobs:
|
|||||||
- finalize-release
|
- finalize-release
|
||||||
uses: ./.github/workflows/discord.yml
|
uses: ./.github/workflows/discord.yml
|
||||||
with:
|
with:
|
||||||
release_tag: ${{ needs.create-release.outputs.draft_tag }}
|
release_tag: ${{ needs.create-release.outputs.version }}
|
||||||
discord_title: "New Release"
|
discord_title: "New Release"
|
||||||
discord_color: 3066993
|
discord_color: 3066993
|
||||||
discord_footer: "Portabase"
|
discord_footer: "Portabase"
|
||||||
|
|||||||
+1
-1
@@ -31,5 +31,5 @@ keywords:
|
|||||||
- web-ui
|
- web-ui
|
||||||
- agent
|
- agent
|
||||||
license: Apache-2.0
|
license: Apache-2.0
|
||||||
version: 1.4.55
|
version: 1.5.0
|
||||||
date-released: '2026-03-02'
|
date-released: '2026-03-02'
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "portabase",
|
"name": "portabase",
|
||||||
"version": "1.4.55",
|
"version": "1.5.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev --turbopack -p 8887",
|
"dev": "next dev --turbopack -p 8887",
|
||||||
|
|||||||
Reference in New Issue
Block a user