mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
feat: new pipeline for release process
* fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix: workflow --------- Co-authored-by: charlesgauthereau <charles.gauthereau@soluce-technologies.com>
This commit is contained in:
co-authored by
charlesgauthereau
parent
c7d949b1d1
commit
c57d913c46
@@ -99,34 +99,6 @@ 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: |
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user