From f653a18f5ef3270478f8e0b8da394e88b1d2839f Mon Sep 17 00:00:00 2001 From: ModischFabrications Date: Wed, 31 Jan 2024 00:35:19 +0100 Subject: [PATCH] promote to v1.0.0, update ci --- .github/workflows/ci.yml | 21 ++++++++++----------- README.md | 1 - package.json | 2 +- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 252410f..553356c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,10 +29,10 @@ jobs: steps: - name: Checkout 🛎️ - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Node ⚙ - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 - name: Install dependencies & build ⚙️ run: | @@ -49,8 +49,7 @@ jobs: build-and-push-docker: needs: build-and-test - if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) || - startsWith(github.ref, 'refs/tags/v') && github.event.base_ref == format('refs/heads/{0}', github.event.repository.default_branch) + if: github.ref == 'refs/heads/{{ github.event.repository.default_branch }}' || startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest timeout-minutes: 30 @@ -58,14 +57,14 @@ jobs: steps: - name: Checkout 🛎️ # uses: actions/checkout@v3 # incompatible with git lfs cache (https://github.com/actions/checkout/issues/165#issuecomment-940225299) - uses: nschloe/action-checkout-with-lfs-cache@v1.1.2 + uses: nschloe/action-checkout-with-lfs-cache@v1.2.2 with: exclude: "docs/*" # https://github.com/docker/metadata-action - name: Export Metadata for Docker 🖊️ id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | modischfabrications/cutsolver_frontend @@ -76,12 +75,12 @@ jobs: # https://github.com/docker/setup-qemu-action - name: Set up QEMU ⚙ - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 # https://github.com/docker/setup-buildx-action - name: Set up Docker Buildx ⚙ id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Report Buildx platforms 🖊️ run: echo ${{ steps.buildx.outputs.platforms }} @@ -93,7 +92,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GHCR 👤 - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -101,7 +100,7 @@ jobs: # https://github.com/docker/build-push-action - name: Build and push to DH & GHCR 📦 - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . platforms: linux/amd64,linux/arm64,linux/arm/v7 @@ -112,7 +111,7 @@ jobs: cache-to: type=inline - name: Update DH description 🖊️ - uses: peter-evans/dockerhub-description@v3 + uses: peter-evans/dockerhub-description@v4 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/README.md b/README.md index 4d211b1..dfe8c5e 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,6 @@ Feel free to contact me or make a pull-request if you want to participate. Remember to set all versions for new releases: 1. git tag 2. package.json -3. Docker Multibuild (might be done by travis eventually) ### Build & Dev Environment I assume you know what you are doing if you want to develop and install it manually. diff --git a/package.json b/package.json index 790a3b3..56f8102 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cutsolver_frontend", - "version": "0.3.8", + "version": "1.0.0", "private": true, "scripts": { "serve": "vue-cli-service serve",