Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Introduce `stable` tag on containers
Jon Fuller87e0cf55f1d1
diff --git a/.github/workflows/main-docker.yml b/.github/workflows/main-docker.ymlindex 43049175b6..a3f569ff20 100644--- a/.github/workflows/main-docker.yml+++ b/.github/workflows/main-docker.yml@@ -242,6 +242,17 @@ jobs:docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \-t ${{ env.DOCKERHUB_REGISTRY }}/${{ env.IMAGE_NAME }}:${REF_NAME} \$(printf '${{ env.DOCKERHUB_REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *)++ # If the ref is a tag, also tag the image as stable as this is part of a 'release'+ if [[ "${GITHUB_REF}" == refs/tags/* ]]; then+ docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \+ -t ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}:stable \+ $(printf '${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *)++ docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \+ -t ${{ env.DOCKERHUB_REGISTRY }}/${{ env.IMAGE_NAME }}:stable \+ $(printf '${{ env.DOCKERHUB_REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *)+ fi- name: Inspect imagerun: |