Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fikse bygging av release #52

Open
arnfinn opened this issue Feb 5, 2024 · 1 comment
Open

Fikse bygging av release #52

arnfinn opened this issue Feb 5, 2024 · 1 comment

Comments

@arnfinn
Copy link
Contributor

arnfinn commented Feb 5, 2024

Med dagens oppsett, med dorny/path-filter, blir ikke docker image bygd ved release. Dette fordi det ikke har vært noen endring i main.

Mulig en løsning finnes her: https://www.github.com/dorny/paths-filter/issues/101#issuecomment-1202472416

run: |
  tag=`git tag --sort=creatordate | tail -2 | sed -n '1p'`
  echo "Tag: $tag"
  sha=`git show-ref --tags | grep $tag | awk '{print $1;}'`
  echo "SHA: $sha"
  echo "::set-output name=sha::$sha"
@arnfinn
Copy link
Contributor Author

arnfinn commented Sep 24, 2024

Vi bruker ikke release til noe i dag, så mulig dette ikke er et problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant