From 5d17605b574299b32dc72f43ab9a3ad0c7e1bbfe Mon Sep 17 00:00:00 2001 From: na2na-p Date: Mon, 27 Nov 2023 20:36:43 +0900 Subject: [PATCH] =?UTF-8?q?packageName=E3=81=AE=E5=8E=B3=E6=A0=BC=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd-for-v3-main.yml | 4 +--- infra/k8s/helm/Chart.yaml | 2 +- infra/k8s/helm/values.yaml | 2 +- package.json | 2 +- renovate.json | 2 +- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cd-for-v3-main.yml b/.github/workflows/cd-for-v3-main.yml index 2cef1f6d..1dbe91bd 100644 --- a/.github/workflows/cd-for-v3-main.yml +++ b/.github/workflows/cd-for-v3-main.yml @@ -28,12 +28,10 @@ jobs: echo "JETDISC_VERSION=$(cat package.json | jq -r '.version')" >> $GITHUB_ENV - name: Check Docker Hub id: check_docker_hub - # NOTE: 実験用にすでに存在しててもOUTPUT吐き出す run: | DOCKER_HUB_TAGS=$(curl -s ${{ env.DOCKER_TAG_API_URI }} | jq -r '.results[] | .name') if [ $(echo $DOCKER_HUB_TAGS | grep -c $JETDISC_VERSION) -eq 1 ]; then echo "Tag $JETDISC_VERSION already exists on Docker Hub." - echo "JETDISC_VERSION=$JETDISC_VERSION" >> $GITHUB_OUTPUT else echo "Tag $JETDISC_VERSION does not exist on Docker Hub." echo "tag_exists=false" >> $GITHUB_OUTPUT @@ -51,7 +49,7 @@ jobs: Build-and-Push-to-Docker-Hub: needs: - Prepare - # if: ${{ needs.Prepare.outputs.tag_exists == 'false' }} + if: ${{ needs.Prepare.outputs.tag_exists == 'false' }} with: JETDISC_VERSION: ${{ needs.Prepare.outputs.JETDISC_VERSION }} IMAGE_REPOSITORY: na2na diff --git a/infra/k8s/helm/Chart.yaml b/infra/k8s/helm/Chart.yaml index 98cd6688..472e469d 100644 --- a/infra/k8s/helm/Chart.yaml +++ b/infra/k8s/helm/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 3.0.0-helm-beta1 +version: 3.0.0-helm # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/infra/k8s/helm/values.yaml b/infra/k8s/helm/values.yaml index f9a6f59d..14203de2 100644 --- a/infra/k8s/helm/values.yaml +++ b/infra/k8s/helm/values.yaml @@ -2,7 +2,7 @@ replicaCount: 1 image: repository: na2na/jetdisc - tag: ee16d9e + tag: 3.0.0 registry: docker.io pullPolicy: IfNotPresent diff --git a/package.json b/package.json index 61076d4e..ac7ec828 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jetdisc", - "version": "3.0.0-beta1", + "version": "3.0.0", "description": "", "type": "module", "main": "built/index.js", diff --git a/renovate.json b/renovate.json index dcb8e209..dacd275c 100644 --- a/renovate.json +++ b/renovate.json @@ -13,7 +13,7 @@ }, { "datasources": ["docker"], - "packageNames": ["na2na/jetdisc"], + "packageNames": ["docker.io/na2na/jetdisc"], "matchManagers": ["helm-values"] } ]