Skip to content
Snippets Groups Projects
Unverified Commit 98e8a465 authored by Dmitriy Safronov's avatar Dmitriy Safronov Committed by GitHub
Browse files

Workflow (#10)

parent 057a33c6
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......@@ -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
......
......@@ -14,4 +14,4 @@ jobs:
base: main
exclude-drafts: true
exclude-labels: |
no-rebase
dependencies
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment