diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 3a3cce5763e5548088dd474d35cc0d65a7cd58c7..731f8a8021ba7938ca890a94e3be931576984604 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,21 @@ version: 2 updates: - - package-ecosystem: "npm" # See documentation for possible values - directory: "/" # Location of package manifests + - package-ecosystem: "npm" + directory: "/" schedule: - interval: "weekly" + interval: "daily" + labels: + - "dependencies" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + labels: + - "dependencies" + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "daily" + labels: + - "dependencies" diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index ce8cfe436bf78bcab37b1ec413cbafdbb1b02587..addaab39ff3a55f95a0d9b5d68efb71ad32a5e4e 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -58,11 +58,13 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=ref,event=branch + type=ref,event=branch,prefix=,suffix=-{{sha}}-{{date 'x'}} type=ref,event=pr type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} - type=semver,pattern={{major}} - type=ref,event=branch,prefix=,suffix=-{{sha}}-{{date 'x'}} + type=semver,pattern={{major}}.{{minor}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.0.') && !contains(github.ref, '-') }} + type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') && !contains(github.ref, '-') }} + flavor: | + latest=${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-') }} # Cache dependencies # https://github.com/actions/cache diff --git a/.github/workflows/rebase-on-push-to-main-branch.yaml b/.github/workflows/rebase-on-push-to-main-branch.yaml index 38ced832876efa46ee96b2f9f47540fb574ed363..4c4d2284d8029cd85cd7f9a42ca7a8344da4d32f 100644 --- a/.github/workflows/rebase-on-push-to-main-branch.yaml +++ b/.github/workflows/rebase-on-push-to-main-branch.yaml @@ -14,4 +14,4 @@ jobs: base: main exclude-drafts: true exclude-labels: | - no-rebase + dependencies