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 bc97ade
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,28 @@ name: Publish and Deploy main

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

branches: ["main"]
workflow_dispatch:

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 +52,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 bc97ade

Please sign in to comment.