Skip to content

Commit

Permalink
fix: prioritize the extracted metadata ags
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans-Chrstian committed Mar 19, 2024
1 parent bfed265 commit 270a81a
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,31 @@
name: Publish and Deploy main

on:
push:
branches: -'**'
# push:
# branches: ['main']
# workflow_dispatch:

workflow_run:
workflows: ["Run Tests"]
branches: [main]
types:
- completed

env:
REGISTRY: ghcr.io
IMAGE_NAME: ghcr.io/genomicdatainfrastructure/gdi-userportal-ckan-docker
AZURE_WEBAPP_NAME: ckan-test

jobs:
# ort:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: oss-review-toolkit/ort-ci-github-action@7f23c1f8d169dad430e41df223d3b8409c7a156e
# with:
# allow-dynamic-versions: "true"
# fail-on: "issues"
# run: "cache-dependencies,cache-scan-results,labels,analyzer,evaluator,advisor,reporter,upload-results"
ort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oss-review-toolkit/ort-ci-github-action@7f23c1f8d169dad430e41df223d3b8409c7a156e
with:
allow-dynamic-versions: "true"
fail-on: "issues"
run: "cache-dependencies,cache-scan-results,labels,analyzer,evaluator,advisor,reporter,upload-results"

build-and-push-image:
runs-on: ubuntu-latest
# needs: ort
needs: ort
permissions:
contents: read
packages: write
Expand All @@ -55,10 +54,10 @@ jobs:
type=schedule,priority=400
type=ref,event=branch, priority=600
type=ref,event=pr, priority=500
type=semver,pattern={{version}}, priority=800
type=semver,pattern={{major}}.{{minor}}, priority=1000
type=semver,pattern={{major}}, priority=900
type=sha, priority=700
type=semver,pattern={{version}}, priority=700
type=semver,pattern={{major}}.{{minor}}, priority=900
type=semver,pattern={{major}}, priority=800
type=sha, priority=1000
- name: Extract last tag
id: tag
Expand Down

0 comments on commit 270a81a

Please sign in to comment.