From a47675de9f3b76efdcd03b3bde787c034f7aa3d9 Mon Sep 17 00:00:00 2001 From: Martin Caspersen Date: Fri, 10 Nov 2023 14:40:26 +0100 Subject: [PATCH] Revert "chore(deps): pin dependencies" This reverts commit bf8a1d33ac77ccc838d9cf177a99940378bc0bd2. --- .github/workflows/docker-image.yml | 8 ++++---- .github/workflows/prettier_format_ci.yml | 4 ++-- .github/workflows/publish_to_dockerhub.yml | 12 ++++++------ .github/workflows/publish_to_github.yml | 10 +++++----- Dockerfile | 6 +++--- renovate.json | 2 +- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 205b655c..7b7ebe26 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -12,21 +12,21 @@ jobs: steps: - name: Check out the repo - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3 + uses: docker/setup-buildx-action@v3 - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5 + uses: docker/metadata-action@v5 with: images: martinc01/audiobook-manager tags: | type=raw,value={{date 'X'}} - name: Build Docker image - uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5 + uses: docker/build-push-action@v5 with: context: . push: false diff --git a/.github/workflows/prettier_format_ci.yml b/.github/workflows/prettier_format_ci.yml index deb7ad56..7f54caf8 100644 --- a/.github/workflows/prettier_format_ci.yml +++ b/.github/workflows/prettier_format_ci.yml @@ -12,9 +12,9 @@ jobs: steps: - name: Check out the repo - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + uses: actions/checkout@v4 - - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4 + - uses: actions/setup-node@v4 with: node-version: "19.x" diff --git a/.github/workflows/publish_to_dockerhub.yml b/.github/workflows/publish_to_dockerhub.yml index 8e1d72fc..95b82437 100644 --- a/.github/workflows/publish_to_dockerhub.yml +++ b/.github/workflows/publish_to_dockerhub.yml @@ -15,25 +15,25 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out the repo - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3 + uses: docker/setup-buildx-action@v3 - name: Log in to Docker Hub - uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5 + uses: docker/metadata-action@v5 with: images: martinc01/audiobook-manager - name: Build and push Docker image - uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5 + uses: docker/build-push-action@v5 with: context: . push: true @@ -43,7 +43,7 @@ jobs: cache-to: type=gha,mode=max - name: Docker Hub Description - uses: peter-evans/dockerhub-description@dc67fad7001ef9e8e3c124cb7a64e16d0a63d864 # v3 + uses: peter-evans/dockerhub-description@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} diff --git a/.github/workflows/publish_to_github.yml b/.github/workflows/publish_to_github.yml index 2d70bf6b..7157ace5 100644 --- a/.github/workflows/publish_to_github.yml +++ b/.github/workflows/publish_to_github.yml @@ -22,13 +22,13 @@ jobs: packages: write steps: - name: Check out the repo - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3 + uses: docker/setup-buildx-action@v3 - name: Log in to Container Registry - uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -36,12 +36,12 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - name: Build and push Docker image - uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5 + uses: docker/build-push-action@v5 with: context: . push: true diff --git a/Dockerfile b/Dockerfile index 5b9f6c31..f3016d35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine@sha256:4c2ed06d729b26c96c3b0e64c98356058c1ad342c54b08238434f0ef05d70bfa AS build-env +FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine AS build-env WORKDIR /app # Copy everything @@ -9,7 +9,7 @@ RUN dotnet restore RUN dotnet publish -c Release -o out # Build client app -FROM node:21-alpine@sha256:df76a9449df49785f89d517764012e3396b063ba3e746e8d88f36e9f332b1864 as build-node +FROM node:21-alpine as build-node WORKDIR /app COPY /client/package*.json ./ @@ -20,7 +20,7 @@ COPY /client ./ RUN npm run build # Build runtime image -FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine@sha256:cfb5c365b3dc1a6d6b2635507817025f739748c84b31c81734c148b6cac04100 +FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine # User manipulation tools RUN apk add --no-cache --update --upgrade shadow diff --git a/renovate.json b/renovate.json index fa26f6eb..052cc26f 100644 --- a/renovate.json +++ b/renovate.json @@ -1,7 +1,7 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "config:best-practices", + "config:recommended", ":prHourlyLimitNone" ], "packageRules": [